Skip to content

Commit 8099c9e

Browse files
geliangtangdavem330
authored andcommitted
bonding: drop unused to_dev macro in bond_sysfs.c
to_dev is not used anymore so drop it. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f5e2ed0 commit 8099c9e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/bonding/bond_sysfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
#include <net/bonding.h>
4444

45-
#define to_dev(obj) container_of(obj, struct device, kobj)
4645
#define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
4746

4847
/* "show" function for the bond_masters attribute.

0 commit comments

Comments
 (0)