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

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
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment