Commit aec6f90d authored by Michael Opdenacker's avatar Michael Opdenacker Committed by David S. Miller

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: default avatarMichael Opdenacker <michael.opdenacker@free-electrons.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 78ef359c
...@@ -610,7 +610,6 @@ int __init wimax_subsys_init(void) ...@@ -610,7 +610,6 @@ int __init wimax_subsys_init(void)
d_fnend(4, NULL, "() = 0\n"); d_fnend(4, NULL, "() = 0\n");
return 0; return 0;
genl_unregister_family(&wimax_gnl_family);
error_register_family: error_register_family:
d_fnend(4, NULL, "() = %d\n", result); d_fnend(4, NULL, "() = %d\n", result);
return result; return result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment