projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbef525
)
ms_block: remove unused pointer 'set'
author
Colin Ian King
<colin.king@canonical.com>
Thu, 8 Nov 2018 11:08:09 +0000
(11:08 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 8 Nov 2018 13:17:26 +0000
(06:17 -0700)
Pointer 'set' is declared but not used, remove it. Cleans up warning:
warning: unused variable ‘set’ [-Wunused-variable]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/memstick/core/ms_block.c
patch
|
blob
|
history
diff --git
a/drivers/memstick/core/ms_block.c
b/drivers/memstick/core/ms_block.c
index ee0be66a9a03e5e96bfac778839179be7c659cfa..82daccc9ea6233fdc336cdf0e6de4f888063a167 100644
(file)
--- a/
drivers/memstick/core/ms_block.c
+++ b/
drivers/memstick/core/ms_block.c
@@
-2104,7
+2104,6
@@
static const struct blk_mq_ops msb_mq_ops = {
static int msb_init_disk(struct memstick_dev *card)
{
struct msb_data *msb = memstick_get_drvdata(card);
- struct blk_mq_tag_set *set = NULL;
int rc;
unsigned long capacity;