Browse Source

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>
isee-imx_3.14.28.y
Michael Opdenacker 7 years ago
committed by David S. Miller
parent
commit
aec6f90d41
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      net/wimax/stack.c

+ 0
- 1
net/wimax/stack.c View File

@ -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…
Cancel
Save