]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
scsi: lpfc: Remove set but not used variables 'fc_hdr' and 'hw_page_size'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 14 Sep 2018 10:41:44 +0000 (10:41 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 Oct 2018 01:23:55 +0000 (21:23 -0400)
commitfeb59a34135cbc76c04767467a1cbdc0944b0dc1
tree1ce679689e9ff1b15671891bc1344d0e64ac68e9
parentb5a5fe4ef7fdfd00ac3937756d5f2fbb4e4be3a1
scsi: lpfc: Remove set but not used variables 'fc_hdr' and 'hw_page_size'

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

drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli4_sp_handle_rcqe':
drivers/scsi/lpfc/lpfc_sli.c:13430:26: warning:
 variable 'fc_hdr' set but not used [-Wunused-but-set-variable]

drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_cq_create':
drivers/scsi/lpfc/lpfc_sli.c:14852:11: warning:
 variable 'hw_page_size' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c