Fixes: 7f939ab ("qla2xxx: Add bsg interface to support statistics counter 
reset.")
Signed-off-by: Himanshu Madhani <himanshu.madh...@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malav...@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_bsg.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c
index 8a953aa..643014f 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.c
+++ b/drivers/scsi/qla2xxx/qla_bsg.c
@@ -2289,10 +2289,9 @@ qla2x00_get_priv_stats(struct fc_bsg_job *bsg_job)
        bsg_job->reply->result = DID_OK << 16;
        bsg_job->job_done(bsg_job);
 
-done_free:
        dma_free_coherent(&ha->pdev->dev, sizeof(*stats),
                stats, stats_dma);
-done:
+
        return 0;
 }
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to