mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
devlink: use generated split ops and remove duplicated commands from small ops
Do the switch and use generated split ops for get and info_get commands. Remove those from small ops array. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230803111340.1074067-13-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
b2551b1517
commit
6e067d0cab
@@ -124,7 +124,7 @@ struct devlink_cmd {
|
||||
devlink_nl_dump_one_func_t *dump_one;
|
||||
};
|
||||
|
||||
extern const struct genl_small_ops devlink_nl_small_ops[56];
|
||||
extern const struct genl_small_ops devlink_nl_small_ops[54];
|
||||
|
||||
struct devlink *
|
||||
devlink_get_from_attrs_lock(struct net *net, struct nlattr **attrs);
|
||||
|
||||
Reference in New Issue
Block a user