]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: aic79xx: Remove redundant error variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 4 Jan 2022 11:24:52 +0000 (11:24 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 5 Jan 2022 05:55:38 +0000 (00:55 -0500)
commit48a6cb1eb81652068c3f05febfa510f1785afe85
treee975a76f866bae3c8a778b7167ccbae443c0f24d
parent769d9a9df5c02ed66f0df03aee8db02d57bb4b56
scsi: aic79xx: Remove redundant error variable

Return the value from ahd_linux_queue_abort_cmd() directly instead of using
a redundant variable.

Link: https://lore.kernel.org/r/20220104112452.601899-1-chi.minghao@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic7xxx/aic79xx_osm.c