linux-next: build warning after merge of the block tree

From: Stephen Rothwell
Date: Sun May 13 2018 - 22:51:47 EST


Hi all,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/memstick/core/mspro_block.c: In function 'mspro_block_init_disk':
drivers/memstick/core/mspro_block.c:1173:24: warning: unused variable 'host' [-Wunused-variable]
struct memstick_host *host = card->host;
^~~~
drivers/memstick/core/ms_block.c: In function 'msb_init_disk':
drivers/memstick/core/ms_block.c:2097:24: warning: unused variable 'host' [-Wunused-variable]
struct memstick_host *host = card->host;
^~~~

Introduced by commit

7c2d748e8476 ("memstick: don't call blk_queue_bounce_limit")

--
Cheers,
Stephen Rothwell

Attachment: pgp3mAPG0miyS.pgp
Description: OpenPGP digital signature