* [PATCH] dsa: sja1105: fix semicolon.cocci warnings
[not found] <202005102051.kMOxhZW6%lkp@intel.com>
@ 2020-05-10 12:26 ` kbuild test robot
2020-05-10 18:08 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-05-10 12:26 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kbuild-all, Vladimir Oltean, Andrew Lunn, Vivien Didelot,
Florian Fainelli, linux-kernel, netdev
From: kbuild test robot <lkp@intel.com>
drivers/net/dsa/sja1105/sja1105_ethtool.c:481:11-12: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: ae1804de93f6 ("dsa: sja1105: dynamically allocate stats structure")
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: kbuild test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 30e2206e11ce27ae910cc0dab21472429e400a87
commit: ae1804de93f6f1626906567ae7deec8e0111259d [6966/7905] dsa: sja1105: dynamically allocate stats structure
sja1105_ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/dsa/sja1105/sja1105_ethtool.c
+++ b/drivers/net/dsa/sja1105/sja1105_ethtool.c
@@ -478,7 +478,7 @@ void sja1105_get_ethtool_stats(struct ds
if (priv->info->device_id == SJA1105E_DEVICE_ID ||
priv->info->device_id == SJA1105T_DEVICE_ID)
- goto out;;
+ goto out;
memset(data + k, 0, ARRAY_SIZE(sja1105pqrs_extra_port_stats) *
sizeof(u64));
^ permalink raw reply [flat|nested] 2+ messages in thread