diff options
| author | YueHaibing <[email protected]> | 2019-08-31 13:03:48 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-09-30 22:37:18 -0400 |
| commit | 1c6294858950a3cc609570f050734e1492e6a155 (patch) | |
| tree | 98e9580eba6b1b4dd6de5c09b56d03424720cf9b /tools/perf/scripts/python | |
| parent | a3a65ddd79c3c975eb1295863289aa4bbaded283 (diff) | |
scsi: smartpqi: remove set but not used variable 'ctrl_info'
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]
commit 6d90615f1346 ("scsi: smartpqi: add sysfs entries") added it but
it was never used. Also remove variable 'shost'.
[mkp: commit desc]
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions