[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220826181741.3878852-1-jacob.e.keller@intel.com>
Date: Fri, 26 Aug 2022 11:17:40 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: netdev@...r.kernel.org
Cc: Jiri Pirko <jiri@...nulli.us>,
Jacob Keller <jacob.e.keller@...el.com>
Subject: [PATCH iproute2-next 1/2] mnlg: remove unnused mnlg_socket structure
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@...el.com>
---
devlink/mnlg.c | 8 --------
1 file changed, 8 deletions(-)
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);
base-commit: fc6be06cab4327eecac5885f80048e7a57dd28e8
--
2.37.1.394.gc50926e1f488
Powered by blists - more mailing lists