mirror of https://gitee.com/openkylin/linux.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 <michael.opdenacker@free-electrons.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
78ef359cb6
commit
aec6f90d41
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue