]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi: lpfc: fix build issue if NVME_FC_TARGET is not defined
authorJames Smart <jsmart2021@gmail.com>
Wed, 17 May 2017 03:52:29 +0000 (20:52 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 18 May 2017 00:22:47 +0000 (20:22 -0400)
commiteeeb51d834d76c66784e7fe1a9ace3ce3f8d2af1
treed2be0b6744ba46300fd855e6aed80673a4e7cd08
parent53cf29d3b1bc5b86fcff5fdc52f873d79d908ef4
scsi: lpfc: fix build issue if NVME_FC_TARGET is not defined

fix build issue if NVME_FC_TARGET is not defined. noop the code.  The
code will never be invoked if target mode is not enabled.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c