Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0db901bd authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

macvlan: make start_xmit local



Only used in one file, no need to expose

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69c58852
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -290,7 +290,7 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev)
	return dev_queue_xmit(skb);
	return dev_queue_xmit(skb);
}
}


netdev_tx_t macvlan_start_xmit(struct sk_buff *skb,
static netdev_tx_t macvlan_start_xmit(struct sk_buff *skb,
				      struct net_device *dev)
				      struct net_device *dev)
{
{
	unsigned int len = skb->len;
	unsigned int len = skb->len;
@@ -317,7 +317,6 @@ netdev_tx_t macvlan_start_xmit(struct sk_buff *skb,
	}
	}
	return ret;
	return ret;
}
}
EXPORT_SYMBOL_GPL(macvlan_start_xmit);


static int macvlan_hard_header(struct sk_buff *skb, struct net_device *dev,
static int macvlan_hard_header(struct sk_buff *skb, struct net_device *dev,
			       unsigned short type, const void *daddr,
			       unsigned short type, const void *daddr,
+0 −3
Original line number Original line Diff line number Diff line
@@ -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 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)
#if IS_ENABLED(CONFIG_MACVLAN)
static inline struct net_device *
static inline struct net_device *
macvlan_dev_real_dev(const struct net_device *dev)
macvlan_dev_real_dev(const struct net_device *dev)