mirror of
https://github.com/torvalds/linux.git
synced 2026-05-03 22:12:32 -04:00
netlink: specs: devlink: remove reload-action from devlink-get cmd reply
devlink-get command does not contain reload-action attr in reply. Remove it. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://lore.kernel.org/r/20231021112711.660606-5-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
2260d39cd0
commit
c48066b0cc
@@ -475,11 +475,6 @@ int devlink_get_rsp_parse(const struct nlmsghdr *nlh, void *data)
|
||||
return MNL_CB_ERROR;
|
||||
dst->_present.reload_failed = 1;
|
||||
dst->reload_failed = mnl_attr_get_u8(attr);
|
||||
} else if (type == DEVLINK_ATTR_RELOAD_ACTION) {
|
||||
if (ynl_attr_validate(yarg, attr))
|
||||
return MNL_CB_ERROR;
|
||||
dst->_present.reload_action = 1;
|
||||
dst->reload_action = mnl_attr_get_u8(attr);
|
||||
} else if (type == DEVLINK_ATTR_DEV_STATS) {
|
||||
if (ynl_attr_validate(yarg, attr))
|
||||
return MNL_CB_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user