Re: [PATCH] HID: hid-logitech: remove redundant assignment to pointer value

From: Jiri Kosina
Date: Thu Oct 19 2017 - 07:53:30 EST


On Tue, 17 Oct 2017, Colin King wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied to for-4.15/logitech. Thanks,

--
Jiri Kosina
SUSE Labs