skd: Remove set-but-not-used local variables
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:12:55 +0000 (13:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commit95895e178a1e6a9fe33487de0c09869f49953aae
tree2529cc51d4c6848abedd5c87667ccefe365476b3
parente1d06f2d8a3e4bc88f3c2052adb3ed8804da1096
skd: Remove set-but-not-used local variables

These variables have been detected by building with W=1. Declare
'acc' as __maybe_unused because most access_ok() implementations
ignore their first argument. This patch does not change any
functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c