[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1710191353080.9294@jbgna.fhfr.qr>
Date: Thu, 19 Oct 2017 13:53:22 +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: hid-logitech: remove redundant assignment to pointer
value
On Tue, 17 Oct 2017, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The pointer value is being assigned a value and this is never read,
> and later on it is being assigned a new value. This the first
> assignment is redundant and can be removed and hence also the variables
> report and report_list. Cleans up the clang warning: Value stored to
> 'value' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to for-4.15/logitech. Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists