Re: [PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c

2015-12-23 Thread David Miller
From: Geliang Tang 
Date: Wed, 23 Dec 2015 20:42:20 +0800

> to_dev is not used anymore so drop it.
> 
> Signed-off-by: Geliang Tang 

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c

2015-12-23 Thread Geliang Tang
to_dev is not used anymore so drop it.

Signed-off-by: Geliang Tang 
---
 drivers/net/bonding/bond_sysfs.c | 1 -
 1 file changed, 1 deletion(-)

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 
 
-#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.
-- 
2.5.0


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html