diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-08-28 08:16:56 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-28 17:02:23 +0200 |
commit | 29a390d17748d93f9e6bc6fb0e09d89571aa25f6 (patch) | |
tree | 88d54831573b8a58236e8319f25d15ef4b663ded /net/devlink/devl_internal.h | |
parent | devlink: move tracepoint definitions into core.c (diff) | |
download | linux-29a390d17748d93f9e6bc6fb0e09d89571aa25f6.tar.xz linux-29a390d17748d93f9e6bc6fb0e09d89571aa25f6.zip |
devlink: move small_ops definition into netlink.c
Move the generic netlink small_ops definition where they are consumed,
into netlink.c
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230828061657.300667-15-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/devl_internal.h')
-rw-r--r-- | net/devlink/devl_internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h index 8c81f731a4c7..efca6abf7af7 100644 --- a/net/devlink/devl_internal.h +++ b/net/devlink/devl_internal.h @@ -121,8 +121,6 @@ typedef int devlink_nl_dump_one_func_t(struct sk_buff *msg, struct netlink_callback *cb, int flags); -extern const struct genl_small_ops devlink_nl_small_ops[40]; - struct devlink * devlink_get_from_attrs_lock(struct net *net, struct nlattr **attrs); |