git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e9615b
)
ipv6: drop unneeded goto
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Thu, 28 May 2015 21:02:17 +0000
(23:02 +0200)
committer
David S. Miller
<davem@davemloft.net>
Sun, 31 May 2015 06:48:36 +0000
(23:48 -0700)
Delete jump to a label on the next line, when that label is not
used elsewhere.
A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r@
identifier l;
@@
-if (...) goto l;
-l:
// </smpl>
Also remove the unnecessary ret variable.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c
patch
|
blob
|
history
diff --cc
net/ipv6/raw.c
Simple merge