bonding: drop unused to_dev macro in bond_sysfs.c
authorGeliang Tang <geliangtang@163.com>
Wed, 23 Dec 2015 12:42:20 +0000 (20:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2015 03:26:48 +0000 (22:26 -0500)
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>
drivers/net/bonding/bond_sysfs.c

index f4ae720862158354d028169de77cafe782f539fa..313dbac207ee8d1d784fc25556320d122af48bae 100644 (file)
@@ -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.