summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-08-11 14:57:33 -0700
committerJakub Kicinski <kuba@kernel.org>2021-08-11 14:57:33 -0700
commit6e98893ec0f198ab1be66e149173afe49b3dc578 (patch)
treee9edef425578527cd86fc1e0d09ce3983f6bf0b2 /include/net
parentbc8968e420dcff8d240fe1d49fd0b2214be98ca5 (diff)
parent6569fa2d4e0147759f7580cb36fd6505feab12f7 (diff)
downloadlinux-6e98893ec0f198ab1be66e149173afe49b3dc578.tar.gz
linux-6e98893ec0f198ab1be66e149173afe49b3dc578.tar.bz2
linux-6e98893ec0f198ab1be66e149173afe49b3dc578.zip
Merge branch 'bonding-cleanup-header-file-and-error-msgs'
Jonathan Toppins says: ==================== bonding: cleanup header file and error msgs Two small patches removing unreferenced symbols and unifying error messages across netlink and printk. ==================== Link: https://lore.kernel.org/r/cover.1628650079.git.jtoppins@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bonding.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/net/bonding.h b/include/net/bonding.h
index 9f3fdc180c6c..15e083e18f75 100644
--- a/include/net/bonding.h
+++ b/include/net/bonding.h
@@ -150,11 +150,6 @@ struct bond_params {
u8 ad_actor_system[ETH_ALEN + 2];
};
-struct bond_parm_tbl {
- char *modename;
- int mode;
-};
-
struct slave {
struct net_device *dev; /* first - useful for panic debug */
struct bonding *bond; /* our master */
@@ -755,13 +750,6 @@ static inline int bond_get_targets_ip(__be32 *targets, __be32 ip)
/* exported from bond_main.c */
extern unsigned int bond_net_id;
-extern const struct bond_parm_tbl bond_lacp_tbl[];
-extern const struct bond_parm_tbl xmit_hashtype_tbl[];
-extern const struct bond_parm_tbl arp_validate_tbl[];
-extern const struct bond_parm_tbl arp_all_targets_tbl[];
-extern const struct bond_parm_tbl fail_over_mac_tbl[];
-extern const struct bond_parm_tbl pri_reselect_tbl[];
-extern struct bond_parm_tbl ad_select_tbl[];
/* exported from bond_netlink.c */
extern struct rtnl_link_ops bond_link_ops;