Thread (8 messages) flat view 8 messages, 4 authors, 2018-07-05

Re: [PATCH] net: ethernet: sun: remove redundant variables adv and lpa

From: David Miller <davem@davemloft.net>
Date: 2018-07-05 10:33:24
Also in: kernel-janitors, lkml

From: Colin King <redacted>
Date: Thu,  5 Jul 2018 10:37:32 +0100
From: Colin Ian King <redacted>

Variables adv and lpa are being assigned but are never used hence they
are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'lpa' set but not used [-Wunused-but-set-variable]
warning: variable 'adv' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <redacted>
I think you can safely remove the register reads too, so please
do so.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help