From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Date: Tue, 01 Oct 2019 02:38:28 +0000 Subject: Re: [PATCH -next] scsi: smartpqi: remove set but not used variable 'ctrl_info' Message-Id: List-Id: References: <20190831130348.20552-1-yuehaibing@huawei.com> In-Reply-To: <20190831130348.20552-1-yuehaibing@huawei.com> (yuehaibing@huawei.com's message of "Sat, 31 Aug 2019 13:03:48 +0000") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: YueHaibing Cc: Don Brace , "James E.J. Bottomley" , Murthy Bhat , "Martin K. Petersen" , esc.storagedev@microsemi.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Hulk Robot YueHaibing, > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/smartpqi/smartpqi_init.c: In function 'pqi_driver_version_show': > drivers/scsi/smartpqi/smartpqi_init.c:6164:24: warning: > variable 'ctrl_info' set but not used [-Wunused-but-set-variable] Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering