Skip to content
Commit 25cba909 authored by Artem Chernyshev's avatar Artem Chernyshev Committed by Martin K. Petersen
Browse files

scsi: isci: Remove redundant check in isci_task_request_build()



sci_task_request_construct_ssp() has invariant return. Change this function
to void and get rid of unnecessary checks.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: default avatarArtem Chernyshev <artem.chernyshev@red-soft.ru>
Link: https://lore.kernel.org/r/20231128121159.2373975-1-artem.chernyshev@red-soft.ru


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 84e46978
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