bridge: Add const to dummy br_netpoll_send_skb
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>
This commit is contained in:
parent
5933dd2f02
commit
9f70b0fcec
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue