scsi: libfc: Call scsi_done() directly
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Oct 2021 20:28:38 +0000 (13:28 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 17 Oct 2021 01:28:48 +0000 (21:28 -0400)
commite0f63b2181cb66a7f8cd5b15ae6237fe0d283b0c
tree8a03dfd12ffc27180f23a7cf82e4ad4d4a5418c7
parent98cc0e69ba5da84f664e6e658c28d7940fbdc69a
scsi: libfc: Call scsi_done() directly

Conditional statements are faster than indirect calls. Hence call
scsi_done() directly.

Link: https://lore.kernel.org/r/20211007202923.2174984-44-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_fcp.c