]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Drop lpfc_no_handler()
authorHannes Reinecke <hare@suse.de>
Tue, 1 Mar 2022 14:37:15 +0000 (15:37 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Mar 2022 04:56:29 +0000 (23:56 -0500)
commitd0876b07d71359b63a24728ae3dbf84bebc141f0
tree3c9577b113b6767330119371c4ed22fd71fd6b61
parent3de294e910f4b6555e946ceb90f0bd68f3ff20f2
scsi: lpfc: Drop lpfc_no_handler()

The default SCSI EH action for a non-existing EH callback is to return
FAILED, so having a callback just returning FAILED is pointless.

Link: https://lore.kernel.org/r/20220301143718.40913-3-hare@suse.de
Cc: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c