summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-04-20 09:41:36 -0600
committerJens Axboe <axboe@fb.com>2017-04-20 09:41:36 -0600
commit2bc19cd5fdb5ff2c681761e81cc9044eb2ee753a (patch)
treeac3c39a2955e7f4414291fb7307b90bab3769005 /drivers/iio
parent659b3394eb67a5e274d7e7348633b508510a5c8f (diff)
downloadlinux-2bc19cd5fdb5ff2c681761e81cc9044eb2ee753a.tar.gz
linux-2bc19cd5fdb5ff2c681761e81cc9044eb2ee753a.tar.bz2
linux-2bc19cd5fdb5ff2c681761e81cc9044eb2ee753a.zip
blk-throttle: fix unused variable warning with BLK_DEV_THROTTLING_LOW=n
We trigger this warning: block/blk-throttle.c: In function ‘blk_throtl_bio’: block/blk-throttle.c:2042:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int ret; ^~~ since we only assign 'ret' if BLK_DEV_THROTTLING_LOW is off, we never check it. Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions