提交 4f6cd04f 编写于 作者: K kbuild test robot 提交者: Jakub Kicinski

dsa: sja1105: fix semicolon.cocci warnings

drivers/net/dsa/sja1105/sja1105_ethtool.c:481:11-12: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: ae1804de ("dsa: sja1105: dynamically allocate stats structure")
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nkbuild test robot <lkp@intel.com>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 7a36e491
......@@ -478,7 +478,7 @@ void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data)
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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册