提交 8099c9ed 编写于 作者: G Geliang Tang 提交者: 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: NGeliang Tang <geliangtang@163.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册