AR8216: remove redundant port number in MIB header line
authorJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:28 +0000 (08:33 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:28 +0000 (08:33 +0000)
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

target/linux/generic/files/drivers/net/phy/ar8216.c

index 8d0afef7414ca7c1c3039b7ae4575d756eec3bd3..a1b98414735531fab6b8a3d64669e7fd52705f15 100644 (file)
@@ -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++) {