[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1muk910kt.fsf@oracle.com>
Date: Mon, 29 Apr 2019 08:02:26 -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: qedf: remove set but not used variables
Yue,
> From: YueHaibing <yuehaibing@...wei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warnings:
>
> drivers/scsi/qedf/qedf_els.c: In function 'qedf_process_els_compl':
> drivers/scsi/qedf/qedf_els.c:149:20: warning: variable 'sc_cmd' set but not used [-Wunused-but-set-variable]
> drivers/scsi/qedf/qedf_els.c:148:28: warning: variable 'task_ctx' set but not used [-Wunused-but-set-variable]
> drivers/scsi/qedf/qedf_els.c: In function 'qedf_send_srr':
> drivers/scsi/qedf/qedf_els.c:612:6: warning: variable 'sid' 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