diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-14 17:06:09 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-14 17:06:09 +0000 |
commit | 87c8d59b138f4cdc4ae9f3591e59b18dcbaf38f9 (patch) | |
tree | 3fa7e0a218c8c01a33aaffedd08e78f9fa2ca67d /target/linux | |
parent | fed1314b093a470c0ba0cf0fe51ac32030d4ea14 (diff) | |
download | upstream-87c8d59b138f4cdc4ae9f3591e59b18dcbaf38f9.tar.gz upstream-87c8d59b138f4cdc4ae9f3591e59b18dcbaf38f9.tar.bz2 upstream-87c8d59b138f4cdc4ae9f3591e59b18dcbaf38f9.zip |
ar8216: fix "unused variable" compiler warning
Most likely a copy & paste error when deriving ar8327_sw_set_ports
from ar8xxx_sw_set_ports.
Remove unused variable.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43273 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index c7adc3d893..4410fbba50 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -1957,7 +1957,7 @@ ar8327_sw_set_ports(struct switch_dev *dev, struct switch_val *val) { struct ar8xxx_priv *priv = swdev_to_ar8xxx(dev); u8 *vt = &priv->vlan_table[val->port_vlan]; - int i, j; + int i; *vt = 0; for (i = 0; i < val->len; i++) { |