]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Remove redundant initialization of pointer req
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Sep 2021 11:46:10 +0000 (12:46 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 15 Sep 2021 03:33:20 +0000 (23:33 -0400)
commitb65346c1e466ddc955425aa3bc18bc5ebe45e186
treeaf368ed4290a9177d8559548c65a679fc065249a
parentcf64ab26d646020c928ec89345f5fc0c06727faf
scsi: qla2xxx: Remove redundant initialization of pointer req

The pointer req is being initialized with a value that is never read, it is
being updated later on. The assignment is redundant and can be removed.

Link: https://lore.kernel.org/r/20210910114610.44752-1-colin.king@canonical.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Addresses-Coverity: ("Unused value")
drivers/scsi/qla2xxx/qla_mbx.c