Skip to content

Commit aec6f90

Browse files
Michael Opdenackerdavem330
authored andcommitted
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>
1 parent 78ef359 commit aec6f90

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎net/wimax/stack.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,6 @@ int __init wimax_subsys_init(void)
610610
d_fnend(4, NULL, "() = 0\n");
611611
return 0;
612612

613-
genl_unregister_family(&wimax_gnl_family);
614613
error_register_family:
615614
d_fnend(4, NULL, "() = %d\n", result);
616615
return result;

0 commit comments

Comments
 (0)