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

From
Jiri Kosina <jikos@kernel.org>
Date
2017-10-19 11:53:25
Also in
kernel-janitors, lkml
Reply to
Colin King, 2017-10-17
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
Thread (2 messages) 2 messages, 2 authors, last reply 2017-10-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help