[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180705.193315.2106014813802269928.davem@davemloft.net>
Date: Thu, 05 Jul 2018 19:33:15 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ethernet: sun: remove redundant variables adv and
lpa
From: Colin King <colin.king@...onical.com>
Date: Thu, 5 Jul 2018 10:37:32 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> 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 <colin.king@...onical.com>
I think you can safely remove the register reads too, so please
do so.
Thanks.
Powered by blists - more mailing lists