sunvdc: fix compiler warning
authorJens Axboe <axboe@kernel.dk>
Thu, 8 Nov 2018 04:17:57 +0000 (21:17 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Nov 2018 04:17:57 +0000 (21:17 -0700)
commitdbef5257737b989d4785b62939f1e9cba3948689
tree87dc8efba3d9baf2dabecf3f74d9cde37a4d64f6
parent4b04cc6a8f86c4842314def22332de1f15de8523
sunvdc: fix compiler warning

Stephen reports:

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

/home/sfr/next/next/drivers/block/sunvdc.c: In function 'init_queue':
/home/sfr/next/next/drivers/block/sunvdc.c:788:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~

Kill the unused variable.

Fixes: fa182a1fa97d ("sunvdc: convert to blk-mq")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sunvdc.c