diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-06-15 15:17:21 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-06-20 10:38:59 +0200 |
commit | db69ecfcb0d4df4d6449172186a8dd20836275ed (patch) | |
tree | 23f1d343794000d8b55849516dd6519a02cdfdd1 /net/batman-adv/soft-interface.c | |
parent | b8e2dd135c3d8b06a4bc6d52b69317bdcccf4605 (diff) | |
download | lwn-db69ecfcb0d4df4d6449172186a8dd20836275ed.tar.gz lwn-db69ecfcb0d4df4d6449172186a8dd20836275ed.zip |
batman-adv: Keep interface_tx as local function
interface_tx is not used outside of soft-interface.c and thus doesn't
need to be declared inside soft-interface.h
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r-- | net/batman-adv/soft-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index b8d3f248efdc..0fc997e13251 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c @@ -553,7 +553,7 @@ static int interface_change_mtu(struct net_device *dev, int new_mtu) return 0; } -int interface_tx(struct sk_buff *skb, struct net_device *soft_iface) +static int interface_tx(struct sk_buff *skb, struct net_device *soft_iface) { struct ethhdr *ethhdr = (struct ethhdr *)skb->data; struct bat_priv *bat_priv = netdev_priv(soft_iface); |