]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
batman-adv: Keep interface_tx as local function
authorSven Eckelmann <sven@narfation.org>
Wed, 15 Jun 2011 13:17:21 +0000 (15:17 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 20 Jun 2011 08:38:59 +0000 (10:38 +0200)
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>
net/batman-adv/soft-interface.c
net/batman-adv/soft-interface.h

index b8d3f248efdcafd5a68cb7b9403594183efbe910..0fc997e132518428d2343bc3840af65c9b12e0c9 100644 (file)
@@ -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);
index c24906dd1d6aa9b70c27e444982b3d20134350f3..001546fc96f153629a2ae758c2201a4611b97efc 100644 (file)
@@ -25,7 +25,6 @@
 int my_skb_head_push(struct sk_buff *skb, unsigned int len);
 int softif_neigh_seq_print_text(struct seq_file *seq, void *offset);
 void softif_neigh_purge(struct bat_priv *bat_priv);
-int interface_tx(struct sk_buff *skb, struct net_device *soft_iface);
 void interface_rx(struct net_device *soft_iface,
                  struct sk_buff *skb, struct hard_iface *recv_if,
                  int hdr_size);