Re: [PATCH -next] blk-iolatency: remove set but not used variables 'changed' and 'blkiolat'

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

 



On 9/13/18 7:35 PM, YueHaibing wrote:
> 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]

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