Skip to content
Commit 7d499958 authored by Bart Van Assche's avatar Bart Van Assche Committed by Greg Kroah-Hartman
Browse files

scsi: ib_srp: Call scsi_done() directly

[ Upstream commit 5f9ae9ee ]

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

Link: https://lore.kernel.org/r/20211007202923.2174984-6-bvanassche@acm.org


Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: e193b795 ("RDMA/srp: Do not call scsi_done() from srp_abort()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d2746cdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment