Thread (3 messages) flat view 3 messages, 3 authors, 2018-07-04

RE: [PATCH] net: ethernet: gianfar_ethtool: remove redundant variable last_rule_idx

From: Claudiu Manoil <claudiu.manoil@nxp.com>
Date: 2018-07-04 08:44:00
Also in: kernel-janitors, lkml

-----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
[off-list ref]; 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 <redacted>

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 <redacted>
Acked-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help