From: Michael Opdenacker Date: Thu, 21 Nov 2013 03:43:11 +0000 (+0100) Subject: wimax: remove dead code X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=aec6f90d412fe30b88fdea3d1880734c837e15d4;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Johannes Berg Signed-off-by: David S. Miller --- 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;