diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 24ea994b6274c324143973a74aeedf78088ffc74..10406dbc35b33c91d19ef2599e4f775c0332b703 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -290,8 +290,8 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) return dev_queue_xmit(skb); } -netdev_tx_t macvlan_start_xmit(struct sk_buff *skb, - struct net_device *dev) +static netdev_tx_t macvlan_start_xmit(struct sk_buff *skb, + struct net_device *dev) { unsigned int len = skb->len; int ret; @@ -317,7 +317,6 @@ netdev_tx_t macvlan_start_xmit(struct sk_buff *skb, } return ret; } -EXPORT_SYMBOL_GPL(macvlan_start_xmit); static int macvlan_hard_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h index ea22721ba269e6d49611fd8ad745ffc363e57ad0..551bdd3722a2e9a8ed4b3aa315c5fd5a30e4eb09 100644 --- a/include/linux/if_macvlan.h +++ b/include/linux/if_macvlan.h @@ -111,9 +111,6 @@ extern void macvlan_dellink(struct net_device *dev, struct list_head *head); extern int macvlan_link_register(struct rtnl_link_ops *ops); -extern netdev_tx_t macvlan_start_xmit(struct sk_buff *skb, - struct net_device *dev); - #if IS_ENABLED(CONFIG_MACVLAN) static inline struct net_device * macvlan_dev_real_dev(const struct net_device *dev)