aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-03-04 08:33:28 +0000
committerJohn Crispin <blogic@openwrt.org>2016-03-04 08:33:28 +0000
commit5fd0ace7bab1feea2d95a5aed45183f7d5c916a7 (patch)
tree9cde20dcc44a9975217b0b34e0fdeea1a9fe683b /target/linux/generic
parent0624aaa2834b33431846445a4a64dc5e378558bf (diff)
downloadmaster-187ad058-5fd0ace7bab1feea2d95a5aed45183f7d5c916a7.tar.gz
master-187ad058-5fd0ace7bab1feea2d95a5aed45183f7d5c916a7.tar.bz2
master-187ad058-5fd0ace7bab1feea2d95a5aed45183f7d5c916a7.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48912 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-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 8d0afef741..a1b9841473 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++) {