summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-08-11 17:57:09 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-14 11:47:25 -0700
commitddff283280ba0a6b84929f357859f7ea74cecfbe (patch)
treeb5223201cc8c6176ac6dae592c862146aa592825 /net
parent7199c86247e9618981a2916900d3fcb83e5df157 (diff)
devlink: remove duplicate temporary netlink callback prototypes
Remove the duplicate temporary netlink callback prototype as the generated ones are already in place. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230811155714.1736405-9-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r--net/devlink/devl_internal.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h
index f8af6ffdbb3a..7caa385703de 100644
--- a/net/devlink/devl_internal.h
+++ b/net/devlink/devl_internal.h
@@ -185,50 +185,11 @@ int devlink_rate_nodes_check(struct devlink *devlink, u16 mode,
struct netlink_ext_ack *extack);
/* Devlink nl cmds */
-int devlink_nl_pre_doit_port(const struct genl_split_ops *ops,
- struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_pre_doit_port_optional(const struct genl_split_ops *ops,
- struct sk_buff *skb,
- struct genl_info *info);
int devlink_nl_cmd_reload(struct sk_buff *skb, struct genl_info *info);
int devlink_nl_cmd_eswitch_get_doit(struct sk_buff *skb, struct genl_info *info);
int devlink_nl_cmd_eswitch_set_doit(struct sk_buff *skb, struct genl_info *info);
int devlink_nl_cmd_flash_update(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_selftests_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_selftests_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
int devlink_nl_cmd_selftests_run(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_port_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_port_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
-int devlink_nl_rate_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_rate_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
-int devlink_nl_linecard_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_linecard_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_sb_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_sb_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
-int devlink_nl_sb_pool_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_sb_pool_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_sb_port_pool_get_doit(struct sk_buff *skb,
- struct genl_info *info);
-int devlink_nl_sb_port_pool_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_sb_tc_pool_bind_get_doit(struct sk_buff *skb,
- struct genl_info *info);
-int devlink_nl_sb_tc_pool_bind_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_param_get_doit(struct sk_buff *skb,
- struct genl_info *info);
-int devlink_nl_param_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_region_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_region_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_health_reporter_get_doit(struct sk_buff *skb,
- struct genl_info *info);
-int devlink_nl_health_reporter_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
int devlink_nl_cmd_health_reporter_set_doit(struct sk_buff *skb,
struct genl_info *info);
int devlink_nl_cmd_health_reporter_recover_doit(struct sk_buff *skb,
@@ -241,12 +202,3 @@ int devlink_nl_cmd_health_reporter_dump_clear_doit(struct sk_buff *skb,
struct genl_info *info);
int devlink_nl_cmd_health_reporter_test_doit(struct sk_buff *skb,
struct genl_info *info);
-int devlink_nl_trap_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_trap_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
-int devlink_nl_trap_group_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);
-int devlink_nl_trap_group_get_doit(struct sk_buff *skb, struct genl_info *info);
-int devlink_nl_trap_policer_get_doit(struct sk_buff *skb,
- struct genl_info *info);
-int devlink_nl_trap_policer_get_dumpit(struct sk_buff *skb,
- struct netlink_callback *cb);