From: Geliang Tang Date: Wed, 23 Dec 2015 12:42:20 +0000 (+0800) Subject: bonding: drop unused to_dev macro in bond_sysfs.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git bonding: drop unused to_dev macro in bond_sysfs.c to_dev is not used anymore so drop it. Signed-off-by: Geliang Tang Signed-off-by: David S. Miller --- 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 -#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.