diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-14 10:24:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-14 08:31:06 -0600 |
commit | 058147bc9435b07c573ce50e9e02b18eaae9b4ea (patch) | |
tree | 51a468218c2b4fa11dfc733484ebb77733e9a91c | |
parent | e4f0e0cbf4e12293b8bc2580ca05fb42d8c43d93 (diff) | |
download | linux-058147bc9435b07c573ce50e9e02b18eaae9b4ea.tar.bz2 |
memstick: remove unused variables
Fixes: 7c2d748e8476 ("memstick: don't call blk_queue_bounce_limit")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | drivers/memstick/core/ms_block.c | 1 | ||||
-rw-r--r-- | drivers/memstick/core/mspro_block.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c index b2d025f42d14..a15181fa45f7 100644 --- a/drivers/memstick/core/ms_block.c +++ b/drivers/memstick/core/ms_block.c @@ -2094,7 +2094,6 @@ static const struct block_device_operations msb_bdops = { static int msb_init_disk(struct memstick_dev *card) { struct msb_data *msb = memstick_get_drvdata(card); - struct memstick_host *host = card->host; int rc; unsigned long capacity; diff --git a/drivers/memstick/core/mspro_block.c b/drivers/memstick/core/mspro_block.c index a2fadc605750..5ee932631fae 100644 --- a/drivers/memstick/core/mspro_block.c +++ b/drivers/memstick/core/mspro_block.c @@ -1170,7 +1170,6 @@ static int mspro_block_init_card(struct memstick_dev *card) static int mspro_block_init_disk(struct memstick_dev *card) { struct mspro_block_data *msb = memstick_get_drvdata(card); - struct memstick_host *host = card->host; struct mspro_devinfo *dev_info = NULL; struct mspro_sys_info *sys_info = NULL; struct mspro_sys_attr *s_attr = NULL; |