diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-07-02 06:06:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-03 19:10:30 -0700 |
commit | 6e9e4795e688fd61fa83f7f4cad4992939fd4ca3 (patch) | |
tree | 0e22a6b59a3c3bb177801e1cf17c2d5122f5b57f /drivers/net/qlge/qlge_main.c | |
parent | 8b007de19026e91991ae70ca0def31c42435e008 (diff) | |
download | kernel-crypto-6e9e4795e688fd61fa83f7f4cad4992939fd4ca3.tar.gz kernel-crypto-6e9e4795e688fd61fa83f7f4cad4992939fd4ca3.tar.xz kernel-crypto-6e9e4795e688fd61fa83f7f4cad4992939fd4ca3.zip |
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>
Diffstat (limited to 'drivers/net/qlge/qlge_main.c')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index c226257dc43..1b75f6efd7f 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -3374,11 +3374,6 @@ static int ql_get_adapter_resources(struct ql_adapter *qdev) return -ENOMEM; } status = ql_request_irq(qdev); - if (status) - goto err_irq; - return status; -err_irq: - ql_free_mem_resources(qdev); return status; } |