git: dbc463119c8c - main - netlink: remove unused structure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Dec 2023 04:24:52 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=dbc463119c8c3694e8f10a7bcf702a0bbfb373a7
commit dbc463119c8c3694e8f10a7bcf702a0bbfb373a7
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-12-27 04:21:58 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2023-12-27 04:21:58 +0000
netlink: remove unused structure
---
sys/netlink/netlink_var.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/sys/netlink/netlink_var.h b/sys/netlink/netlink_var.h
index a26d217f4023..36b7c61974c9 100644
--- a/sys/netlink/netlink_var.h
+++ b/sys/netlink/netlink_var.h
@@ -96,18 +96,10 @@ struct nlpcb {
SYSCTL_DECL(_net_netlink);
SYSCTL_DECL(_net_netlink_debug);
-struct nl_io {
- struct callout callout;
- struct mbuf *head;
- struct mbuf *last;
- int64_t length;
-};
-
struct nl_control {
CK_LIST_HEAD(nl_pid_head, nlpcb) ctl_port_head;
CK_LIST_HEAD(nlpcb_head, nlpcb) ctl_pcb_head;
CK_LIST_ENTRY(nl_control) ctl_next;
- struct nl_io ctl_io;
struct rmlock ctl_lock;
};
VNET_DECLARE(struct nl_control *, nl_ctl);