Re: [PATCH] net: ethernet: gianfar_ethtool: remove redundant variable last_rule_idx
From: David Miller
Date: Wed Jul 04 2018 - 09:40:57 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 4 Jul 2018 08:54:55 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable last_rule_idx is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> warning: variable 'last_rule_idx' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.