diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-11-15 16:18:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-18 18:32:43 +0300 |
commit | a468168130ec1a3245812f2c713be97081149ca2 (patch) | |
tree | 6e8066cc6c0c95ae45d0af49976b8a45c3c1b76f /block | |
parent | d41003513e61dd9d4974cb441d30b63650b85654 (diff) | |
download | linux-a468168130ec1a3245812f2c713be97081149ca2.tar.xz |
scsi: sd_zbc: Remove set but not used variable 'buflen'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/scsi/sd_zbc.c: In function 'sd_zbc_check_zones':
drivers/scsi/sd_zbc.c:341:9: warning:
variable 'buflen' set but not used [-Wunused-but-set-variable]
It is not used since commit d9dd73087a8b ("block: Enhance
blk_revalidate_disk_zones()")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions