]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: 3w-9xxx: Call scsi_done() directly
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Oct 2021 20:28:03 +0000 (13:28 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 17 Oct 2021 01:28:44 +0000 (21:28 -0400)
commit3e6d3832dc1b4d6426733b357412a96f90b0e368
treef14f3b992b4cb8ca4fba2af05d71179f9cd8eb7e
parent68f89c50cd0c4c13e5bb55dec67fac653ba8e38a
scsi: 3w-9xxx: Call scsi_done() directly

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

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