Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8099c9ed authored by Geliang Tang's avatar Geliang Tang Committed by David S. Miller
Browse files

bonding: drop unused to_dev macro in bond_sysfs.c



to_dev is not used anymore so drop it.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f5e2ed02
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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.