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

- From: Jiri Kosina \<jikos@kernel.org\>
- Date: 2017-10-19 11:53:25 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2017/10/5113649
- Thread: https://ratatoskr.run/linux-input/2017/10/5111706/t.md

```text
On Tue, 17 Oct 2017, Colin King wrote:

> From: Colin Ian King <redacted>
> 
> 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 <redacted>

Applied to for-4.15/logitech. Thanks,

-- 
Jiri Kosina
SUSE Labs
```
