diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-07-02 10:06:09 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-04 06:10:30 +0400 |
commit | 6e9e4795e688fd61fa83f7f4cad4992939fd4ca3 (patch) | |
tree | 0e22a6b59a3c3bb177801e1cf17c2d5122f5b57f /drivers/net/qlge | |
parent | 8b007de19026e91991ae70ca0def31c42435e008 (diff) | |
download | linux-6e9e4795e688fd61fa83f7f4cad4992939fd4ca3.tar.xz |
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')
-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 c226257dc432..1b75f6efd7f4 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; } |