diff options
author | Geliang Tang <geliangtang@163.com> | 2015-12-23 12:42:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-24 03:26:48 (GMT) |
commit | 8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b (patch) | |
tree | 488dd62a423d7c7cf384c03db33c279a5ae72fe6 /drivers/net/bonding/bond_sysfs.c | |
parent | f5e2ed022dff60d9023d997ed719531129cc1365 (diff) | |
download | linux-8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b.tar.xz |
bonding: drop unused to_dev macro in bond_sysfs.c
to_dev is not used anymore so drop it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_sysfs.c')
-rw-r--r-- | drivers/net/bonding/bond_sysfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index f4ae720..313dbac 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c @@ -42,7 +42,6 @@ #include <net/bonding.h> -#define to_dev(obj) container_of(obj, struct device, kobj) #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd)))) /* "show" function for the bond_masters attribute. |