scsi: ipr: Directly return instead of using local ret variable
authorHaowen Bai <baihaowen@meizu.com>
Mon, 28 Mar 2022 02:05:03 +0000 (10:05 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:29:40 +0000 (23:29 -0400)
commit391b8dac55770686d33f65ab5e87cfbc5bb3942d
tree792dee9b30930b8c45c46a06a16d96d973b0202d
parent507bd398a056c08d5618450db86bad69b02dde6b
scsi: ipr: Directly return instead of using local ret variable

Fixes coccinelle warning:

./drivers/scsi/ipr.c:10095:13-15: Unneeded variable: "rc". Return "IRQ_HANDLED" on line 10104

Link: https://lore.kernel.org/r/1648433103-24308-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ipr.c