memstick: remove unused variables
Fixes: 7c2d748e84
("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>
This commit is contained in:
parent
e4f0e0cbf4
commit
058147bc94
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue