diff options
| author | Breno Leitao <leitao@debian.org> | 2025-07-23 20:20:29 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-25 23:59:41 +0300 |
| commit | 33360f2508e07b07bb926ea75f11744dcc1cde07 (patch) | |
| tree | 43d4099c9df727e73eb9533f17eea0a762674bab | |
| parent | f24987ef6959a7efaf79bffd265522c3df18d431 (diff) | |
| download | linux-33360f2508e07b07bb926ea75f11744dcc1cde07.tar.xz | |
netpoll: Remove unused fields from inet_addr union
Clean up the inet_addr union by removing unused fields that are
redundant with existing members:
This simplifies the union structure while maintaining all necessary
functionality for both IPv4 and IPv6 address handling.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250723-netconsole_ref-v3-1-8be9b24e4a99@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
| -rw-r--r-- | include/linux/netpoll.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h index 735e65c3cc11..b5ea9882eda8 100644 --- a/include/linux/netpoll.h +++ b/include/linux/netpoll.h @@ -15,10 +15,7 @@ #include <linux/refcount.h> union inet_addr { - __u32 all[4]; __be32 ip; - __be32 ip6[4]; - struct in_addr in; struct in6_addr in6; }; |
