diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-10-07 13:28:02 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-16 21:28:44 -0400 |
commit | 68f89c50cd0c4c13e5bb55dec67fac653ba8e38a (patch) | |
tree | 4ff0bfb78ac9cdfa7bb104864e37bf439d81e961 /drivers/s390/scsi/zfcp_fsf.c | |
parent | 1ae6d167793c3b293114335f474adfc0ef5438ed (diff) | |
download | linux-68f89c50cd0c4c13e5bb55dec67fac653ba8e38a.tar.gz linux-68f89c50cd0c4c13e5bb55dec67fac653ba8e38a.tar.bz2 linux-68f89c50cd0c4c13e5bb55dec67fac653ba8e38a.zip |
scsi: zfcp_scsi: Call scsi_done() directly
Conditional statements are faster than indirect calls. Hence call
scsi_done() directly.
Link: https://lore.kernel.org/r/20211007202923.2174984-8-bvanassche@acm.org
Acked-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index c1f979296c1a..4f1e4385ce58 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c @@ -2501,7 +2501,7 @@ skip_fsfstatus: zfcp_dbf_scsi_result(scpnt, req); scpnt->host_scribble = NULL; - (scpnt->scsi_done) (scpnt); + scsi_done(scpnt); /* * We must hold this lock until scsi_done has been called. * Otherwise we may call scsi_done after abort regarding this |