diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-09-11 17:10:21 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-15 17:32:01 -0400 |
commit | 34eb5ccf35daea082b6bc3857f82f23155fb266f (patch) | |
tree | a156f5060f1a72dc63797b8f62439720ecdb87dc /drivers/scsi/sym53c8xx_2 | |
parent | 247f994459383a15486b6a78b669b6fc088c7543 (diff) | |
download | lwn-34eb5ccf35daea082b6bc3857f82f23155fb266f.tar.gz lwn-34eb5ccf35daea082b6bc3857f82f23155fb266f.zip |
scsi: qla2xxx: Remove unneeded variable 'rval'
This addresses the following coccinelle warning:
drivers/scsi/qla2xxx/qla_init.c:7112:5-9: Unneeded variable: "rval".
Return "QLA_SUCCESS" on line 7115
Link: https://lore.kernel.org/r/20200911091021.2937708-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
0 files changed, 0 insertions, 0 deletions