summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-04-12 16:11:11 -0600
committerJens Axboe <axboe@fb.com>2016-04-12 16:11:11 -0600
commit7e19793096994d43d213f440f4bbea926828a727 (patch)
tree05641b4f0591f17962e12f814e6698439cc0e218 /block
parent2245f6de6c68b225986229a2de78c240536f7f38 (diff)
downloadlinux-stable-7e19793096994d43d213f440f4bbea926828a727.tar.gz
linux-stable-7e19793096994d43d213f440f4bbea926828a727.tar.bz2
linux-stable-7e19793096994d43d213f440f4bbea926828a727.zip
NVMe: silence warning about unused 'dev'
Depending on options, we might not be using dev in nvme_cancel_io(): drivers/nvme/host/pci.c: In function ‘nvme_cancel_io’: drivers/nvme/host/pci.c:970:19: warning: unused variable ‘dev’ [-Wunused-variable] struct nvme_dev *dev = data; ^ So get rid of it, and just cast for the dev_dbg_ratelimited() call. Fixes: 82b4552b91c4 ("nvme: Use blk-mq helper for IO termination") Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions