qlge: Fix redundant call to free resources.

The caller will free acquired resouces if a failure occurs.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ron Mercer 2009-07-02 06:06:09 +00:00 committed by David S. Miller
parent 8b007de190
commit 6e9e4795e6

View File

@ -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;
} }