[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <321d25d4-2216-dae2-268b-ca225c5e5caa@kernel.dk>
Date: Mon, 18 Nov 2019 08:33:08 -0700
From: Jens Axboe <axboe@...nel.dk>
To: YueHaibing <yuehaibing@...wei.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
Damien Le Moal <damien.lemoal@....com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Cc: linux-scsi@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH -next] scsi: sd_zbc: Remove set but not used variable
'buflen'
On 11/15/19 6:18 AM, YueHaibing wrote:
> 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()")
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists