diff mbox series

[iproute2-next,1/2] mnlg: remove unnused mnlg_socket structure

Message ID 20220826181741.3878852-1-jacob.e.keller@intel.com (mailing list archive)
State Accepted
Commit 0c3540635d67f81bf87dd81df1aa3807938b08a6
Delegated to: David Ahern
Headers show
Series [iproute2-next,1/2] mnlg: remove unnused mnlg_socket structure | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Jacob Keller Aug. 26, 2022, 6:17 p.m. UTC
Commit 62ff25e51bb6 ("devlink: Use generic socket helpers from library")
removed all of the users of struct mnlg_socket, but didn't remove the
structure itself. Fix that.

Fixes: 62ff25e51bb6 ("devlink: Use generic socket helpers from library")
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
 devlink/mnlg.c | 8 --------
 1 file changed, 8 deletions(-)


base-commit: fc6be06cab4327eecac5885f80048e7a57dd28e8

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 1, 2022, 3 a.m. UTC | #1
Hello:

This series was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Fri, 26 Aug 2022 11:17:40 -0700 you wrote:
> Commit 62ff25e51bb6 ("devlink: Use generic socket helpers from library")
> removed all of the users of struct mnlg_socket, but didn't remove the
> structure itself. Fix that.
> 
> Fixes: 62ff25e51bb6 ("devlink: Use generic socket helpers from library")
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
> 
> [...]

Here is the summary with links:
  - [iproute2-next,1/2] mnlg: remove unnused mnlg_socket structure
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=0c3540635d67
  - [iproute2-next,2/2] utils: extract CTRL_ATTR_MAXATTR and save it
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=89afe6ef89e5

You are awesome, thank you!
diff mbox series

Patch

diff --git a/devlink/mnlg.c b/devlink/mnlg.c
index e6d92742c150..b2e0b8c0f274 100644
--- a/devlink/mnlg.c
+++ b/devlink/mnlg.c
@@ -22,14 +22,6 @@ 
 #include "utils.h"
 #include "mnlg.h"
 
-struct mnlg_socket {
-	struct mnl_socket *nl;
-	char *buf;
-	uint32_t id;
-	uint8_t version;
-	unsigned int seq;
-};
-
 int mnlg_socket_send(struct mnlu_gen_socket *nlg, const struct nlmsghdr *nlh)
 {
 	return mnl_socket_sendto(nlg->nl, nlh, nlh->nlmsg_len);