Messages in this thread | | | From | Claudiu Manoil <> | Subject | RE: [PATCH] net: ethernet: gianfar_ethtool: remove redundant variable last_rule_idx | Date | Wed, 4 Jul 2018 08:43:49 +0000 |
| |
>-----Original Message----- >From: Colin King [mailto:colin.king@canonical.com] >Sent: Wednesday, July 4, 2018 10:55 AM >To: Claudiu Manoil <claudiu.manoil@nxp.com>; David S . Miller ><davem@davemloft.net>; netdev@vger.kernel.org >Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org >Subject: [PATCH] net: ethernet: gianfar_ethtool: remove redundant variable >last_rule_idx > >From: Colin Ian King <colin.king@canonical.com> > >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@canonical.com> Acked-by: Claudiu Manoil <claudiu.manoil@nxp.com>
| |