mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
rxrpc: remove redundant proc_remove call
The proc_remove call is dead code as it occurs after a return and
hence can never be called. Remove it.
Detected by CoverityScan, CID#1437743 ("Logically dead code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8e2f6dd298
commit
1820dd0633
1 changed files with 0 additions and 1 deletions
|
|
@ -59,7 +59,6 @@ static __net_init int rxrpc_init_net(struct net *net)
|
|||
proc_create("conns", 0444, rxnet->proc_net, &rxrpc_connection_seq_fops);
|
||||
return 0;
|
||||
|
||||
proc_remove(rxnet->proc_net);
|
||||
err_proc:
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue