diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-09-17 01:20:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-09-17 01:20:48 +0200 |
commit | e081e1e3ef4682802ac63b1e5e26158fb9ca9e90 (patch) | |
tree | c43b403bd09c209df7f093810b68e672dcc6330b /net/bridge/br_private.h | |
parent | [PPP] pppoe: Fill in header directly in __pppoe_xmit (diff) | |
download | linux-e081e1e3ef4682802ac63b1e5e26158fb9ca9e90.tar.xz linux-e081e1e3ef4682802ac63b1e5e26158fb9ca9e90.zip |
[BRIDGE]: Kill clone argument to br_flood_*
The clone argument is only used by one caller and that caller can clone
the packet itself. This patch moves the clone call into the caller and
kills the clone argument.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 21bf3a9a03fd..e6dc6f52990d 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -170,12 +170,8 @@ extern int br_dev_queue_push_xmit(struct sk_buff *skb); extern void br_forward(const struct net_bridge_port *to, struct sk_buff *skb); extern int br_forward_finish(struct sk_buff *skb); -extern void br_flood_deliver(struct net_bridge *br, - struct sk_buff *skb, - int clone); -extern void br_flood_forward(struct net_bridge *br, - struct sk_buff *skb, - int clone); +extern void br_flood_deliver(struct net_bridge *br, struct sk_buff *skb); +extern void br_flood_forward(struct net_bridge *br, struct sk_buff *skb); /* br_if.c */ extern void br_port_carrier_check(struct net_bridge_port *p); |