[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1ef8wdm3y.fsf@oracle.com>
Date: Tue, 29 Jan 2019 01:16:49 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <satishkh@...co.com>, <sebaddel@...co.com>, <kartilak@...co.com>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
<linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH -next] scsi: fnic: Remove set but not used variable 'vdev'
YueHaibing,
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/fnic/vnic_wq.c: In function 'vnic_wq_alloc_bufs':
> drivers/scsi/fnic/vnic_wq.c:50:19: warning:
> variable 'vdev' set but not used [-Wunused-but-set-variable]
>
> drivers/scsi/fnic/vnic_rq.c: In function 'vnic_rq_alloc_bufs':
> drivers/scsi/fnic/vnic_rq.c:30:19: warning:
> variable 'vdev' set but not used [-Wunused-but-set-variable]
Applied to 5.1/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists