aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Brace <[email protected]>2015-07-18 11:12:33 -0500
committerJames Bottomley <[email protected]>2015-08-26 16:23:28 -0700
commit7ef7323f4bf467ce9fe51177301ad8cbb7dc2631 (patch)
treef1bcb6cf535800f6b0580e5f2d3c0cdf473d2ab0
parent81c275576bcee1a80e046117c7923586216a2dd4 (diff)
hpsa: correct static checker warnings on driver init cleanup
Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Kevin Barnett <[email protected]> Reviewed-by: Scott Teel <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Don Brace <[email protected]> Signed-off-by: James Bottomley <[email protected]>
-rw-r--r--drivers/scsi/hpsa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index ce9122d37a8b..47d02871371d 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -8056,7 +8056,7 @@ reinit_after_soft_reset:
rc = hpsa_kdump_soft_reset(h);
if (rc)
/* Neither hard nor soft reset worked, we're hosed. */
- goto clean9;
+ goto clean7;
dev_info(&h->pdev->dev, "Board READY.\n");
dev_info(&h->pdev->dev,
@@ -8102,8 +8102,6 @@ reinit_after_soft_reset:
h->heartbeat_sample_interval);
return 0;
-clean9: /* wq, sh, perf, sg, cmd, irq, shost, pci, lu, aer/h */
- kfree(h->hba_inquiry_data);
clean7: /* perf, sg, cmd, irq, shost, pci, lu, aer/h */
hpsa_free_performant_mode(h);
h->access.set_intr_mask(h, HPSA_INTR_OFF);