aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mt7530.h
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-04-28 21:45:50 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-30 23:05:29 -0400
commit2a1305515bf4387bb21e2624c473fc26d846dcbd (patch)
treea233c35deb5483d71b5ab956433df1ead9d75747 /drivers/net/dsa/mt7530.h
parentnet: dsa: Add helper function to retrieve VLAN awareness setting (diff)
downloadlinux-dev-2a1305515bf4387bb21e2624c473fc26d846dcbd.tar.xz
linux-dev-2a1305515bf4387bb21e2624c473fc26d846dcbd.zip
net: dsa: mt7530: Use the DSA vlan_filtering helper function
This was recently introduced, so keeping state inside the driver is no longer necessary. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Suggested-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mt7530.h')
-rw-r--r--drivers/net/dsa/mt7530.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/mt7530.h b/drivers/net/dsa/mt7530.h
index a95ed958df5b..1eec7bdc283a 100644
--- a/drivers/net/dsa/mt7530.h
+++ b/drivers/net/dsa/mt7530.h
@@ -410,7 +410,6 @@ struct mt7530_port {
bool enable;
u32 pm;
u16 pvid;
- bool vlan_filtering;
};
/* struct mt7530_priv - This is the main data structure for holding the state