]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: lpfc: Remove set but not used variable 'phys_id'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 14 Feb 2019 01:51:52 +0000 (01:51 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Feb 2019 23:58:34 +0000 (18:58 -0500)
commit59e54d9aabc411e7d8628622526f38fad4a19b28
treead2b4b266215e6044290d958ddb870718864544b
parent653fcb07d95eda58b72a5e715230b582c4d6d69e
scsi: lpfc: Remove set but not used variable 'phys_id'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_cpu_affinity_check':
drivers/scsi/lpfc/lpfc_init.c:10599:19: warning:
 variable 'phys_id' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit 6a828b0f6192 ("scsi: lpfc:
Support non-uniform allocation of MSIX vectors to hardware queues")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c