summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2024-07-11 13:50:02 +0200
committerJo-Philipp Wich <jo@mein.io>2024-07-11 14:08:01 +0200
commitf5b5a583596580df46c361b6333703a228e3da11 (patch)
tree066b1c01907dd24ad4c236290ef33ee1f9df8597
parentf6ea6fc8f0269d48e01429158153126fc213b0e4 (diff)
nl80211: drop unused structure members from connection context
The `nlctrl` and `nl80211` family pointers were never used, so drop them from the connection context structure. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--lib/nl80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/nl80211.c b/lib/nl80211.c
index 1b3c81e..ce0db7c 100644
--- a/lib/nl80211.c
+++ b/lib/nl80211.c
@@ -1905,8 +1905,6 @@ static struct {
struct nl_sock *sock;
struct nl_sock *evsock;
struct nl_cache *cache;
- struct genl_family *nl80211;
- struct genl_family *nlctrl;
struct uloop_fd evsock_fd;
struct nl_cb *evsock_cb;
} nl80211_conn;