]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: bnx2fc: remove set but not used variable 'fh'
authorzhengbin <zhengbin13@huawei.com>
Fri, 23 Aug 2019 13:22:51 +0000 (21:22 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 22:53:43 +0000 (18:53 -0400)
commit531800e9ef3e188285ba45fb27f50fa16a846e77
tree67682f598ebd7b02408d1984776af6d056750e14
parent60a731eed3cb014d98a4317585e727decd3cb998
scsi: bnx2fc: remove set but not used variable 'fh'

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

drivers/scsi/bnx2fc/bnx2fc_fcoe.c: In function bnx2fc_rcv:
drivers/scsi/bnx2fc/bnx2fc_fcoe.c:431:26: warning: variable fh set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Acked-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c