OSDN Git Service

scsi: megaraid_mbox: Remove redundant initialization of pointer mbox
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Apr 2021 10:49:19 +0000 (11:49 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 10 May 2021 17:24:07 +0000 (13:24 -0400)
commit807b31d8e0fce2160683746b54d7f3010a2d3cde
tree94bc77b10010ea2844866baa753e7288962530d0
parent52b2599081144d903e8992063985a607c647258e
scsi: megaraid_mbox: Remove redundant initialization of pointer mbox

The pointer mbox is being initialized with a value that is never read and
it is being updated later with a new value.  The initialization is
redundant and can be removed.

Link: https://lore.kernel.org/r/20210420104919.376734-1-colin.king@canonical.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/megaraid/megaraid_mbox.c