diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-11-08 11:08:09 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-08 06:17:26 -0700 |
commit | e051bd0ddfdd6696197ad8c12d7485fc68c39f7b (patch) | |
tree | 63b43d8fe5f57037c36943648c3989b77a650ea6 | |
parent | dbef5257737b989d4785b62939f1e9cba3948689 (diff) | |
download | linux-e051bd0ddfdd6696197ad8c12d7485fc68c39f7b.tar.gz linux-e051bd0ddfdd6696197ad8c12d7485fc68c39f7b.tar.bz2 linux-e051bd0ddfdd6696197ad8c12d7485fc68c39f7b.zip |
ms_block: remove unused pointer 'set'
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>
-rw-r--r-- | drivers/memstick/core/ms_block.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c index ee0be66a9a03..82daccc9ea62 100644 --- 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; |