Skip to content
Commit 44a31659 authored by Su Hui's avatar Su Hui Committed by Martin K. Petersen
Browse files

scsi: snic: Remove useless code in snic_dr_clean_pending_req()



Return error code directly to save space and be more clear.

Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Link: https://lore.kernel.org/r/20231020023326.43898-1-suhui@nfschina.com


Reviewed-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 82f52b2c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment