Thread (3 messages) 3 messages, 3 authors, 2018-07-31

Re: [PATCH] iwlegacy: remove several redundant variables

From: Stanislaw Gruszka <hidden>
Date: 2018-07-11 09:26:50
Also in: kernel-janitors, linux-wireless, lkml

On Wed, Jul 11, 2018 at 08:42:53AM +0100, Colin King wrote:
From: Colin Ian King <redacted>

Variables id, unicast, write, conf, a_band, accum_tx and ucode are
assigned a value but it is never read, hence they are redundant and
can be removed.

Cleans up clang warnings:
warning: variable 'id' set but not used [-Wunused-but-set-variable]
warning: variable 'unicast' set but not used [-Wunused-but-set-variable]
warning: variable 'write' set but not used [-Wunused-but-set-variable]
warning: variable 'conf' set but not used [-Wunused-but-set-variable]
warning: variable 'a_band' set but not used [-Wunused-but-set-variable]
warning: variable 'tx' set but not used [-Wunused-but-set-variable]
warning: variable 'accum_tx' set but not used [-Wunused-but-set-variable]
warning: variable 'ucode' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <redacted>
Acked-by: Stanislaw Gruszka <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help