]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: edif: Remove unneeded variable
authorGuo Zhengkui <guozhengkui@vivo.com>
Tue, 26 Apr 2022 07:43:34 +0000 (15:43 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 12:57:05 +0000 (08:57 -0400)
commitfd1dbdc49d087b9c13aae333e2c42f76caf70997
treedb8d02d7b7de4b1a53dbb7601d1fb12fcd1a2908
parent48d7f9193007b54cc5ab3626ebe9bd721b41de33
scsi: qla2xxx: edif: Remove unneeded variable

Fix the following coccicheck warning:

drivers/scsi/qla2xxx/qla_edif.c:660:11-15: Unneeded variable: "rval".

Return "0" on line 761.

Link: https://lore.kernel.org/r/20220426074334.9281-1-guozhengkui@vivo.com
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_edif.c