Commit 6e9e4795 authored by Ron Mercer's avatar Ron Mercer Committed by David S. Miller

qlge: Fix redundant call to free resources.

The caller will free acquired resouces if a failure occurs.
Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b007de1
...@@ -3374,11 +3374,6 @@ static int ql_get_adapter_resources(struct ql_adapter *qdev) ...@@ -3374,11 +3374,6 @@ static int ql_get_adapter_resources(struct ql_adapter *qdev)
return -ENOMEM; return -ENOMEM;
} }
status = ql_request_irq(qdev); status = ql_request_irq(qdev);
if (status)
goto err_irq;
return status;
err_irq:
ql_free_mem_resources(qdev);
return status; return status;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment