]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: fcoe: remove set but not used variable 'port'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Dec 2018 02:43:44 +0000 (02:43 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Dec 2018 00:46:20 +0000 (19:46 -0500)
commit7223d80912d8977219b09f1605483026d79e704b
tree14a5beed71765669b006155420728e4de2643ed3
parente57b2945aa654e48f85a41e8917793c64ecb9de8
scsi: fcoe: remove set but not used variable 'port'

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

drivers/scsi/fcoe/fcoe.c: In function 'fcoe_recv_frame':
drivers/scsi/fcoe/fcoe.c:1672:20: warning:
 variable 'port' set but not used [-Wunused-but-set-variable]

drivers/scsi/fcoe/fcoe.c: In function 'fcoe_device_notification':
drivers/scsi/fcoe/fcoe.c:1861:20: warning:
 variable 'port' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe.c