net: bridge: fix build

fix build when BRIDGE_VLAN_FILTERING is not set

Fixes: 2796d0c648 ("bridge: Automatically manage port promiscuous mode")

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexei Starovoitov 2014-05-18 10:30:28 -07:00 committed by David S. Miller
parent 33fcc5e05e
commit d4f0e0958d

View File

@ -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;
}