mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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
2 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue