From: Jacob Keller Date: Fri, 26 Aug 2022 18:17:40 +0000 (-0700) Subject: mnlg: remove unnused mnlg_socket structure X-Git-Tag: v6.1.0~33^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c3540635d67f81bf87dd81df1aa3807938b08a6;p=thirdparty%2Fiproute2.git 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 Signed-off-by: David Ahern --- diff --git a/devlink/mnlg.c b/devlink/mnlg.c index e6d92742c..b2e0b8c0f 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);