summaryrefslogtreecommitdiffstats
path: root/net/sctp/chunk.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2013-09-02 11:54:21 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-04 13:18:19 -0400
commit0a171933a4b5d6706b782271ac68462c97c1ac50 (patch)
tree8bf6670ed564e1331855a1096679887981ee0f15 /net/sctp/chunk.c
parentcfd280c91253cc28e4919e349fa7a813b63e71e8 (diff)
downloadlinux-0a171933a4b5d6706b782271ac68462c97c1ac50.tar.gz
linux-0a171933a4b5d6706b782271ac68462c97c1ac50.tar.bz2
linux-0a171933a4b5d6706b782271ac68462c97c1ac50.zip
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 'net/sctp/chunk.c')
0 files changed, 0 insertions, 0 deletions