Skip to content

Commit

Permalink
wimax: remove dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Opdenacker authored and davem330 committed Nov 21, 2013
1 parent 78ef359 commit aec6f90
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/wimax/stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aec6f90

Please sign in to comment.