Re: [PATCH] memstick: ms_block: fix unused variable warning

From: Jens Axboe
Date: Mon May 14 2018 - 10:36:39 EST


On 5/14/18 4:17 AM, Anders Roxell wrote:
> When building a warning pops up unused variable '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;

Thanks, but I already applied the fixup from Christoph.

--
Jens Axboe