mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
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
This commit is contained in:
parent
f03ec2baf7
commit
4eaa750089
1 changed files with 1 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue