Commit 058147bc authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

memstick: remove unused variables

Fixes: 7c2d748e ("memstick: don't call blk_queue_bounce_limit")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e4f0e0cb
...@@ -2094,7 +2094,6 @@ static const struct block_device_operations msb_bdops = { ...@@ -2094,7 +2094,6 @@ static const struct block_device_operations msb_bdops = {
static int msb_init_disk(struct memstick_dev *card) static int msb_init_disk(struct memstick_dev *card)
{ {
struct msb_data *msb = memstick_get_drvdata(card); struct msb_data *msb = memstick_get_drvdata(card);
struct memstick_host *host = card->host;
int rc; int rc;
unsigned long capacity; unsigned long capacity;
......
...@@ -1170,7 +1170,6 @@ static int mspro_block_init_card(struct memstick_dev *card) ...@@ -1170,7 +1170,6 @@ static int mspro_block_init_card(struct memstick_dev *card)
static int mspro_block_init_disk(struct memstick_dev *card) static int mspro_block_init_disk(struct memstick_dev *card)
{ {
struct mspro_block_data *msb = memstick_get_drvdata(card); struct mspro_block_data *msb = memstick_get_drvdata(card);
struct memstick_host *host = card->host;
struct mspro_devinfo *dev_info = NULL; struct mspro_devinfo *dev_info = NULL;
struct mspro_sys_info *sys_info = NULL; struct mspro_sys_info *sys_info = NULL;
struct mspro_sys_attr *s_attr = NULL; struct mspro_sys_attr *s_attr = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment