Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1820dd06 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e2f6dd2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}