summaryrefslogtreecommitdiff
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-28 00:06:46 +0400
committerDavid S. Miller <davem@davemloft.net>2013-12-28 10:20:46 +0400
commit0db901bd33f09b0dbf39d12261f689812e343c26 (patch)
treec2c7cb907f1b1ea7c782fc2089b5e5a690ab2648 /drivers/net/macvlan.c
parent69c588529d71b0cae55e5e314b27b1d0300d2e02 (diff)
downloadlinux-0db901bd33f09b0dbf39d12261f689812e343c26.tar.xz
macvlan: make start_xmit local
Only used in one file, no need to expose Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r--drivers/net/macvlan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 24ea994b6274..10406dbc35b3 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -290,8 +290,8 @@ xmit_world:
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,