Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1575972
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][net-next] net: bridge: remove redundant check to see if err is set |
| Date | 2017-02-07 20:20 +0100 |
| Message-ID | <t8jsZ-6U2-9@gated-at.bofh.it> (permalink) |
| References | <t8bF8-1Lm-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Colin King <colin.king@canonical.com>
Date: Tue, 7 Feb 2017 10:56:38 +0000
> From: Colin Ian King <colin.king@canonical.com>
>
> The error check on err is redundant as it is being checked
> previously each time it has been updated. Remove this redundant
> check.
>
> Detected with CoverityScan, CID#140030("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH][net-next] net: bridge: remove redundant check to see if err is set Colin King <colin.king@canonical.com> - 2017-02-07 12:00 +0100
Re: [PATCH][net-next] net: bridge: remove redundant check to see if err is set Nikolay Aleksandrov <nikolay@cumulusnetworks.com> - 2017-02-07 12:40 +0100
Re: [PATCH][net-next] net: bridge: remove redundant check to see if err is set Colin Ian King <colin.king@canonical.com> - 2017-02-07 12:50 +0100
Re: [PATCH][net-next] net: bridge: remove redundant check to see if err is set David Miller <davem@davemloft.net> - 2017-02-07 20:20 +0100
csiph-web