[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.20.1704061447230.28004@cbobk.fhfr.pm>
Date: Thu, 6 Apr 2017 20:34:44 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Colin King <colin.king@...onical.com>
cc: Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-input@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: sony: remove redundant check for -ve err
On Mon, 27 Mar 2017, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Applied to for-4.12/sony.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists