Skip to content

Commit

Permalink
bridge: Add const to dummy br_netpoll_send_skb
Browse files Browse the repository at this point in the history
The version of br_netpoll_send_skb used when netpoll is off is
missing a const thus causing a warning.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 16, 2010
1 parent 5933dd2 commit 9f70b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br)
return NULL;
}

static inline void br_netpoll_send_skb(struct net_bridge_port *p,
static inline void br_netpoll_send_skb(const struct net_bridge_port *p,
struct sk_buff *skb)
{
}
Expand Down

0 comments on commit 9f70b0f

Please sign in to comment.