]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit645af35d70372c190e720338701b80e419d7fe27
tree792dee9b30930b8c45c46a06a16d96d973b0202d
parent922d639927aa9ef1182117d065abc0f433cf6dba
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