Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1618260
| From | Jiri Kosina <jikos@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] HID: sony: remove redundant check for -ve err |
| Date | 2017-04-06 20:40 +0200 |
| Message-ID | <ttku6-4wp-23@gated-at.bofh.it> (permalink) |
| References | <tpH5T-3my-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 27 Mar 2017, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> err is being checked for failure each time it is being updated
> so this err check is totally redundant and can be removed
>
> Detected with CoverityScan, CID#1420665 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied to for-4.12/sony.
--
Jiri Kosina
SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] HID: sony: remove redundant check for -ve err Colin King <colin.king@canonical.com> - 2017-03-27 20:00 +0200 Re: [PATCH] HID: sony: remove redundant check for -ve err Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-03-31 11:10 +0200 Re: [PATCH] HID: sony: remove redundant check for -ve err Jiri Kosina <jikos@kernel.org> - 2017-04-06 20:40 +0200
csiph-web