mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
bonding: drop unused to_dev macro in bond_sysfs.c
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>
This commit is contained in:
parent
f5e2ed022d
commit
8099c9edfd
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue