Skip to content

Commit 891a88f

Browse files
Jonathan Toppinskuba-moo
authored andcommitted
bonding: remove extraneous definitions from bonding.h
All of the symbols either only exist in bond_options.c or nowhere at all. These symbols were verified to not exist in the code base by using `git grep` and their removal was verified by compiling bonding.ko. Signed-off-by: Jonathan Toppins <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent bc8968e commit 891a88f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

include/net/bonding.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ struct bond_params {
150150
u8 ad_actor_system[ETH_ALEN + 2];
151151
};
152152

153-
struct bond_parm_tbl {
154-
char *modename;
155-
int mode;
156-
};
157-
158153
struct slave {
159154
struct net_device *dev; /* first - useful for panic debug */
160155
struct bonding *bond; /* our master */
@@ -755,13 +750,6 @@ static inline int bond_get_targets_ip(__be32 *targets, __be32 ip)
755750

756751
/* exported from bond_main.c */
757752
extern unsigned int bond_net_id;
758-
extern const struct bond_parm_tbl bond_lacp_tbl[];
759-
extern const struct bond_parm_tbl xmit_hashtype_tbl[];
760-
extern const struct bond_parm_tbl arp_validate_tbl[];
761-
extern const struct bond_parm_tbl arp_all_targets_tbl[];
762-
extern const struct bond_parm_tbl fail_over_mac_tbl[];
763-
extern const struct bond_parm_tbl pri_reselect_tbl[];
764-
extern struct bond_parm_tbl ad_select_tbl[];
765753

766754
/* exported from bond_netlink.c */
767755
extern struct rtnl_link_ops bond_link_ops;

0 commit comments

Comments
 (0)