diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-11-21 04:43:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-21 19:09:42 +0100 |
commit | aec6f90d412fe30b88fdea3d1880734c837e15d4 (patch) | |
tree | 0852dfd88dd96ee138c9a317776d1e32b2e93948 /net | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
download | linux-aec6f90d412fe30b88fdea3d1880734c837e15d4.tar.xz linux-aec6f90d412fe30b88fdea3d1880734c837e15d4.zip |
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 '')
-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) d_fnend(4, NULL, "() = 0\n"); return 0; - genl_unregister_family(&wimax_gnl_family); error_register_family: d_fnend(4, NULL, "() = %d\n", result); return result; |