Skip to contentSkip to conversation

devlink: drop leftover duplicate/unused code

PATCH Applied Paolo Abeni 3 participants 3 messages Feb 17, 2023 – Feb 20, 2023

Subsystems (3)
lore
Share & tools
lore

Paolo Abeni

author maintainer
#0 lore raw

PATCH 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.

---
 net/devlink/leftover.c | 13 -------------
 1 file changed, 13 deletions(-)
net/devlink/leftover.c +0 -13
index 8fc85ba3f6e0..dffca2f9bfa7 100644
@@ -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
#2 lore raw
In reply to Paolo Abeni
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.

[...]

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