[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq18svagf35.fsf@oracle.com>
Date: Mon, 13 May 2019 18:33:02 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Yue Haibing <yuehaibing@...wei.com>
Cc: <QLogic-Storage-Upstream@...ium.com>, <jejb@...ux.ibm.com>,
<martin.petersen@...cle.com>, <linux-kernel@...r.kernel.org>,
<linux-scsi@...r.kernel.org>
Subject: Re: [PATCH -next] scsi: qedi: remove set but not used variables 'cdev' and 'udev'
Yue,
> From: YueHaibing <yuehaibing@...wei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/qedi/qedi_iscsi.c: In function 'qedi_ep_connect':
> drivers/scsi/qedi/qedi_iscsi.c:813:23: warning: variable 'udev' set but not used [-Wunused-but-set-variable]
> drivers/scsi/qedi/qedi_iscsi.c:812:18: warning: variable 'cdev' set but not used [-Wunused-but-set-variable]
Applied to 5.2/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists