[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131216104214.68f8d6fe@nehalam.linuxnetplumber.net>
Date: Mon, 16 Dec 2013 10:42:14 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Jay Vosburgh <fubar@...ibm.com>,
Veaceslav Falico <vfalico@...hat.com>,
Andy Gospodarek <andy@...yhouse.net>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: [PATCH net-next 6/10] bonding: make local function static
Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
--- a/drivers/net/bonding/bond_main.c 2013-12-14 11:18:15.297586790 -0800
+++ b/drivers/net/bonding/bond_main.c 2013-12-15 10:25:04.445785839 -0800
@@ -3511,7 +3511,7 @@ unwind:
* it fails, it tries to find the first available slave for transmission.
* The skb is consumed in all cases, thus the function is void.
*/
-void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id)
+static void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id)
{
struct list_head *iter;
struct slave *slave;
--- a/drivers/net/bonding/bonding.h 2013-12-14 11:18:15.301586736 -0800
+++ b/drivers/net/bonding/bonding.h 2013-12-15 10:25:04.445785839 -0800
@@ -417,7 +417,6 @@ struct bond_net;
int bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave);
int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
-void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id);
int bond_create(struct net *net, const char *name);
int bond_create_sysfs(struct bond_net *net);
void bond_destroy_sysfs(struct bond_net *net);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists