[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1pnnpleqh.fsf@oracle.com>
Date: Fri, 07 Jun 2019 09:14:14 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <kashyap.desai@...adcom.com>, <sumit.saxena@...adcom.com>,
<shivasharan.srikanteshwara@...adcom.com>, <jejb@...ux.ibm.com>,
<martin.petersen@...cle.com>, <linux-kernel@...r.kernel.org>,
<linux-scsi@...r.kernel.org>, <megaraidlinux.pdl@...adcom.com>
Subject: Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variable 'sge_sz'
YueHaibing,
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/megaraid/megaraid_sas_base.c: In function megasas_create_frame_pool:
> drivers/scsi/megaraid/megaraid_sas_base.c:4124:6: warning: variable sge_sz set but not used [-Wunused-but-set-variable]
>
> It's not used any more since
> commit 200aed582d61 ("megaraid_sas: endianness related bug fixes and code optimization")
Applied to 5.3/scsi-queue. Thanks.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists