Re: [PATCH -next] scsi: smartpqi: remove set but not used variable 'ctrl_info'

From: Martin K. Petersen
Date: Mon Sep 30 2019 - 22:38:58 EST



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