diff options
| author | Julia Lawall <Julia.Lawall@lip6.fr> | 2013-09-02 11:54:21 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-09-04 13:18:19 -0400 |
| commit | 0a171933a4b5d6706b782271ac68462c97c1ac50 (patch) | |
| tree | 8bf6670ed564e1331855a1096679887981ee0f15 /arch/mips/include/asm/mach-netlogic/multi-node.h | |
| parent | cfd280c91253cc28e4919e349fa7a813b63e71e8 (diff) | |
drivers:net: delete premature free_irq
Free_irq is not needed if there has been no request_irq. Free_irq is
removed from both the probe and remove functions. The correct request_irq
and free_irq are found in the open and close functions.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression e;
@@
*e = platform_get_irq(...);
... when != request_irq(e,...)
*free_irq(e,...)
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions
