aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authordingtianhong <dingtianhong@huawei.com>2014-05-07 22:10:21 +0800
committerDavid S. Miller <davem@davemloft.net>2014-05-08 23:41:12 -0400
commit2db2a15abfb2c72dc2717236659dced6ba1c6d6b (patch)
treed134637ec857b19e5b29d98a357f1cd2bcd2f6aa /drivers
parentbonding: simplify the slave_do_arp_validate_only() (diff)
downloadlinux-dev-2db2a15abfb2c72dc2717236659dced6ba1c6d6b.tar.xz
linux-dev-2db2a15abfb2c72dc2717236659dced6ba1c6d6b.zip
bonding: remove the unused macro
Cc: Jay Vosburgh <j.vosburgh@gmail.com> Cc: Veaceslav Falico <vfalico@gmail.com> Cc: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bonding/bonding.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 1befc256f31c..1621226b8297 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -183,8 +183,6 @@ struct bond_parm_tbl {
int mode;
};
-#define BOND_MAX_MODENAME_LEN 20
-
struct slave {
struct net_device *dev; /* first - useful for panic debug */
struct bonding *bond; /* our master */