diff options
author | Geliang Tang <geliangtang@163.com> | 2015-12-23 20:42:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-23 22:26:48 -0500 |
commit | 8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b (patch) | |
tree | 488dd62a423d7c7cf384c03db33c279a5ae72fe6 /drivers/net/bonding/bond_sysfs.c | |
parent | f5e2ed022dff60d9023d997ed719531129cc1365 (diff) | |
download | lwn-8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b.tar.gz lwn-8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b.zip |
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 f4ae72086215..313dbac207ee 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. |