diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-11-20 22:43:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-21 13:09:42 -0500 |
commit | aec6f90d412fe30b88fdea3d1880734c837e15d4 (patch) | |
tree | 0852dfd88dd96ee138c9a317776d1e32b2e93948 /net/wimax | |
parent | 78ef359cb6211f590298451cb0c62a9d5ba3d12a (diff) |
wimax: remove dead code
This removes a code line that is between a "return 0;" and an error label.
This code line can never be reached.
Found by Coverity (CID: 1130529)
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax')
-rw-r--r-- | net/wimax/stack.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/wimax/stack.c b/net/wimax/stack.c index ef2191b969a7..ec8b577db135 100644 --- a/net/wimax/stack.c +++ b/net/wimax/stack.c | |||
@@ -610,7 +610,6 @@ int __init wimax_subsys_init(void) | |||
610 | d_fnend(4, NULL, "() = 0\n"); | 610 | d_fnend(4, NULL, "() = 0\n"); |
611 | return 0; | 611 | return 0; |
612 | 612 | ||
613 | genl_unregister_family(&wimax_gnl_family); | ||
614 | error_register_family: | 613 | error_register_family: |
615 | d_fnend(4, NULL, "() = %d\n", result); | 614 | d_fnend(4, NULL, "() = %d\n", result); |
616 | return result; | 615 | return result; |