Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1656573
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][net-next] rxrpc: remove redundant proc_remove call |
| Date | 2017-06-02 23:40 +0200 |
| Message-ID | <tO2sx-6xE-3@gated-at.bofh.it> (permalink) |
| References | <tNWGv-2XT-33@gated-at.bofh.it> |
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH][net-next] rxrpc: remove redundant proc_remove call Colin King <colin.king@canonical.com> - 2017-06-02 17:30 +0200 Re: [PATCH][net-next] rxrpc: remove redundant proc_remove call David Howells <dhowells@redhat.com> - 2017-06-02 23:40 +0200 Re: [PATCH][net-next] rxrpc: remove redundant proc_remove call David Miller <davem@davemloft.net> - 2017-06-05 02:00 +0200
csiph-web