Re: [PATCH -next] lightnvm: remove set but not used variables 'data_len' and 'rq_len'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/7/19 6:18 AM, YueHaibing wrote:
> 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")

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux