]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Remove set-but-not-used variables
authorBart Van Assche <bvanassche@acm.org>
Thu, 28 Mar 2019 18:06:20 +0000 (11:06 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:11:36 +0000 (23:11 -0400)
commitd2935dbf52a5305cbac92e4ff802f41a79dd788f
treef2ba0bcac65fc8ffa46d74b9e754ef144c684f79
parent5b1f8a5147ba30da258c1995c574ffd6de9b0a68
scsi: lpfc: Remove set-but-not-used variables

This patch does not change any functionality but avoids that the compiler
complains about set-but-not-used variables when building with W=1.

Cc: James Smart <james.smart@broadcom.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_nportdisc.c
drivers/scsi/lpfc/lpfc_nvmet.c