]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: myrb: Call scsi_done() directly
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Oct 2021 20:28:49 +0000 (13:28 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 17 Oct 2021 01:29:16 +0000 (21:29 -0400)
commit01853af3d967fe35215ae82ca094db708f701214
treeb68ade047a8c86ea214a315e968bcb4a89a7cf04
parent754fb62240c03fcce398c8d82291f470b1f62e5e
scsi: myrb: Call scsi_done() directly

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

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