diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-07 15:18:47 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-08 15:34:34 +0200 |
commit | ba6f7da99aaf00042b4ed2d8850ed7534492009e (patch) | |
tree | 47d2d920a24862d023b3dca96106cbf0ba72f0df /lib/sg_split.c | |
parent | Merge branch 'md-next' of https://github.com/liu-song-6/linux into for-5.4/block (diff) | |
download | linux-ba6f7da99aaf00042b4ed2d8850ed7534492009e.tar.xz linux-ba6f7da99aaf00042b4ed2d8850ed7534492009e.zip |
lightnvm: remove set but not used variables 'data_len' and 'rq_len'
drivers/lightnvm/pblk-read.c: In function pblk_submit_read_gc:
drivers/lightnvm/pblk-read.c:423:6: warning: variable data_len set but not used [-Wunused-but-set-variable]
drivers/lightnvm/pblk-recovery.c: In function pblk_recov_scan_oob:
drivers/lightnvm/pblk-recovery.c:368:15: warning: variable rq_len set but not used [-Wunused-but-set-variable]
They are not used since commit 48e5da725581 ("lightnvm:
move metadata mapping to lower level driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/sg_split.c')
0 files changed, 0 insertions, 0 deletions