diff options
| author | Julia Lawall <[email protected]> | 2015-05-28 21:02:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-31 06:48:36 +0000 |
| commit | 3d2f6d41d1588c975d16c5969726d018bba90794 (patch) | |
| tree | b7822d681846e5f8ea2eb8489a6d92666e1527cb /net/core/netevent.c | |
| parent | net: thunderx: add 64-bit dependency (diff) | |
| download | kernel-3d2f6d41d1588c975d16c5969726d018bba90794.tar.gz kernel-3d2f6d41d1588c975d16c5969726d018bba90794.zip | |
ipv6: drop unneeded goto
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/netevent.c')
0 files changed, 0 insertions, 0 deletions
