]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sym53c8xx_2: Call scsi_done() directly
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Oct 2021 20:29:09 +0000 (13:29 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 17 Oct 2021 01:31:42 +0000 (21:31 -0400)
commit73d0ce78f6bd302a34099b7e3d192479ebebc41b
tree4af66dd7fbdab00b2ad2ef54c961eb67f5296d1f
parentbec65b792995cba3c66e43d8e5dbad3fa25c9ef3
scsi: sym53c8xx_2: Call scsi_done() directly

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

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