Skip to contentSkip to conversation

net: bridge: fix build

PATCH Applied Alexei Starovoitov 2 participants 2 messages May 18, 2014 – May 19, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: bridge: fix build

fix build when BRIDGE_VLAN_FILTERING is not set

Fixes 2796d0c648c94 ("bridge: Automatically manage port promiscuous mode")
---
 net/bridge/br_private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_private.h +1 -1
index 2b2286d8572d..af067711574f 100644
@@ -727,7 +727,7 @@ static inline u16 br_get_pvid(const struct net_port_vlans *v)
 	return VLAN_N_VID;	/* Returns invalid vid */
 }
 
-static inline int br_vlan_enabled(struct net_bridge *br);
+static inline int br_vlan_enabled(struct net_bridge *br)
 {
 	return 0;
 }
Signature · 1 line
1.7.9.5