devlink: drop leftover duplicate/unused code
Subsystems (3)
Paolo Abeni
maintainerPATCH 1/1 devlink: drop leftover duplicate/unused code
The recent merge from net left-over some unused code in leftover.c - nomen omen.
Just drop the unused bits.
Signed-off-by Paolo Abeni <[email protected]>
--- net/devlink/leftover.c | 13 ------------- 1 file changed, 13 deletions(-)
net/devlink/leftover.c +0 -13
@@ -3837,19 +3837,6 @@ int devlink_resources_validate(struct devlink *devlink,return err; } -static void devlink_param_notify (struct devlink *devlink, -unsigned int port_index, -struct devlink_param_item *param_item, -enum devlink_command cmd); - -struct devlink_info_req { -struct sk_buff *msg; -void (*version_cb)(const char *version_name, -enum devlink_info_version_type version_type, -void *version_cb_priv); -void *version_cb_priv; -}; -static const struct devlink_param devlink_param_generic[] = { { .id =DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET ,
Signature · 1 line
2.39.1
Quoted 6 lines · Fri, Feb 17, 2023 at 07:09:20PM CET, [email protected] wrote:
The recent merge from net left-over some unused code in
leftover.c- nomen omen.Just drop the unused bits.
Signed-off-by Paolo Abeni <[email protected]>
Reviewed-by Jiri Pirko <[email protected]>
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Quoted 8 lines · On Fri, 17 Feb 2023 19:09:20 +0100 you wrote:
The recent merge from net left-over some unused code in
leftover.c- nomen omen.Just drop the unused bits.
Signed-off-by Paolo Abeni <[email protected]>[...]
Here is the summary with links:
- [net-next] devlink: drop leftover duplicate/unused code
https://git.kernel.org/netdev/net-next/c/fce10282a03d
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html