Skip to content
Snippets Groups Projects
Commit cc72f5ab authored by Rahul Thakur's avatar Rahul Thakur
Browse files

libethernet: fix log spam

Fix spamming the syslog for linux and mtk targets
parent df0181ae
Branches
No related tags found
1 merge request!18libethernet: fix log spam
Pipeline #142408 passed
......@@ -269,7 +269,6 @@ int linux_get_if_stats(const char *ifname)
{
memset(&g_linux_ifstats, 0, sizeof(struct eth_stats));
syslog(LOG_INFO, "%s(%d): ifname is %s", __FUNCTION__, __LINE__, ifname);
if (linux_get_ifstats(ifname, &g_linux_ifstats) < 0)
return -1;
......
......@@ -156,8 +156,6 @@ int mtk_get_if_stats(const char *ifname)
memset(&g_mtk_ifstats, 0, sizeof(struct eth_stats));
memset(&g_mtk_stat, 0, sizeof(struct mtk_ethnic_stats));
syslog(LOG_INFO, "%s(%d): ifname is %s", __FUNCTION__, __LINE__, ifname);
if (mtk_get_ifstats(ifname, &g_mtk_ifstats) < 0)
return -1;
if (mtk_get_ethtool_stats(ifname) < 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment