projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b007de
)
qlge: Fix redundant call to free resources.
author
Ron Mercer
<ron.mercer@qlogic.com>
Thu, 2 Jul 2009 06:06:09 +0000
(06:06 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 4 Jul 2009 02:10:30 +0000
(19:10 -0700)
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>
drivers/net/qlge/qlge_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/qlge/qlge_main.c
b/drivers/net/qlge/qlge_main.c
index c226257dc432d4900a04569eaa86ca00bcd76226..1b75f6efd7f4902668dc7409e0e66adf451006bc 100644
(file)
--- 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;
}