summaryrefslogtreecommitdiff
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-04 08:33:28 +0000
committerJohn Crispin <john@openwrt.org>2016-03-04 08:33:28 +0000
commit4eaa7500892fdb3469fd096229b1a8839d175552 (patch)
tree9407f579f9349bd98a7de41f261eb9ce30cffe64 /target/linux/generic/files
parentf03ec2baf7b8fe7bda7e03f22764879e7291c114 (diff)
downloadmtk-20170518-4eaa7500892fdb3469fd096229b1a8839d175552.zip
mtk-20170518-4eaa7500892fdb3469fd096229b1a8839d175552.tar.gz
mtk-20170518-4eaa7500892fdb3469fd096229b1a8839d175552.tar.bz2
AR8216: remove redundant port number in MIB header line
The line before includes the port number anyway so there's no need to duplicate the port number in the MIB info header. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 48912
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 8d0afef..a1b9841 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -1373,8 +1373,7 @@ ar8xxx_sw_get_port_mib(struct switch_dev *dev,
ar8xxx_mib_fetch_port_stat(priv, port, false);
len += snprintf(buf + len, sizeof(priv->buf) - len,
- "Port %d MIB counters\n",
- port);
+ "MIB counters\n");
mib_stats = &priv->mib_stats[port * chip->num_mibs];
for (i = 0; i < chip->num_mibs; i++) {