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 13:09:42 -0500 |
commit | aec6f90d412fe30b88fdea3d1880734c837e15d4 (patch) | |
tree | 0852dfd88dd96ee138c9a317776d1e32b2e93948 /net | |
parent | 78ef359cb6211f590298451cb0c62a9d5ba3d12a (diff) | |
download | op-kernel-dev-aec6f90d412fe30b88fdea3d1880734c837e15d4.zip op-kernel-dev-aec6f90d412fe30b88fdea3d1880734c837e15d4.tar.gz |
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')
-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 ef2191b..ec8b577 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; |