blk-iolatency: remove set but not used variables 'changed' and 'blkiolat'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 14 Sep 2018 01:35:11 +0000 (01:35 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 Sep 2018 01:59:24 +0000 (19:59 -0600)
commitf8c0d7b16fd9b97036306c6af4094d51e9f72278
tree73812cbf3a852b2d097a6534a69faef918cb5839
parent798ef9e70110d0245797526c930beec7fded7b15
blk-iolatency: remove set but not used variables 'changed' and 'blkiolat'

Fixes gcc '-Wunused-but-set-variable' warning:

block/blk-iolatency.c: In function 'scale_change':
block/blk-iolatency.c:301:7: warning:
 variable 'changed' set but not used [-Wunused-but-set-variable]

block/blk-iolatency.c: In function 'iolatency_set_limit':
block/blk-iolatency.c:765:24: warning:
 variable 'blkiolat' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iolatency.c