rxrpc: remove redundant proc_remove call
authorColin Ian King <colin.king@canonical.com>
Fri, 2 Jun 2017 15:22:27 +0000 (16:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jun 2017 23:59:11 +0000 (19:59 -0400)
commit1820dd0633b9972028e377ee76e5d40873491d25
tree696d287f9d38dfc05cfb5eb9f0fd5b60e0118740
parent8e2f6dd298beb93c30e1699a5c26492a10214447
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>
net/rxrpc/net_ns.c