summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_debugfs.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-08-25 01:09:59 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-26 00:26:28 +0200
commit7362617319fd2273c7fe5a5f8f8b5fb059a85015 (patch)
tree1b9157cb07a1bc0d575cc05526be77acc1ce5b3c /drivers/scsi/lpfc/lpfc_debugfs.h
parentscsi: cxlflash: Fix vlun resize failure in the shrink path (diff)
downloadlinux-7362617319fd2273c7fe5a5f8f8b5fb059a85015.tar.xz
linux-7362617319fd2273c7fe5a5f8f8b5fb059a85015.zip
scsi: lpfc: avoid an unused function warning
The only reference to lpfc_nvmet_replenish_context() is inside of an disabled: drivers/scsi/lpfc/lpfc_nvmet.c:1457:1: error: 'lpfc_nvmet_replenish_context' defined but not used [-Werror=unused-function] This replaces the preprocessor conditional with a C condition, so the compiler can see that the function is intentionally unused. Fixes: 9a38e4f1c82f ("scsi: lpfc: Fix MRQ > 1 context list handling") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.h')
0 files changed, 0 insertions, 0 deletions