Skip to content

Commit 058147b

Browse files
Christoph Hellwigaxboe
authored andcommitted
memstick: remove unused variables
Fixes: 7c2d748 ("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>
1 parent e4f0e0c commit 058147b

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/memstick/core/ms_block.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,6 @@ static const struct block_device_operations msb_bdops = {
20942094
static int msb_init_disk(struct memstick_dev *card)
20952095
{
20962096
struct msb_data *msb = memstick_get_drvdata(card);
2097-
struct memstick_host *host = card->host;
20982097
int rc;
20992098
unsigned long capacity;
21002099

‎drivers/memstick/core/mspro_block.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,6 @@ static int mspro_block_init_card(struct memstick_dev *card)
11701170
static int mspro_block_init_disk(struct memstick_dev *card)
11711171
{
11721172
struct mspro_block_data *msb = memstick_get_drvdata(card);
1173-
struct memstick_host *host = card->host;
11741173
struct mspro_devinfo *dev_info = NULL;
11751174
struct mspro_sys_info *sys_info = NULL;
11761175
struct mspro_sys_attr *s_attr = NULL;

0 commit comments

Comments
 (0)