From f8b24f78ad8e651688702e1a60029ec67bf54396 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 11 Apr 2004 16:35:53 +0000 Subject: [PATCH] In 4.x, if_ipending is used to track network interrupt state. In 5.x, it is no longer used, so GC the ifnet.if_ipending field. --- sys/net/if_var.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 7b6b4f4d03c7..886b396d73c2 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -140,7 +140,6 @@ struct ifnet { int if_flags; /* up/down, broadcast, etc. */ int if_capabilities; /* interface capabilities */ int if_capenable; /* enabled features */ - int if_ipending; /* interrupts pending */ void *if_linkmib; /* link-type-specific MIB data */ size_t if_linkmiblen; /* length of above data */ struct if_data if_data; @@ -206,12 +205,6 @@ typedef void if_init_f_t(void *); #define if_addrlist if_addrhead #define if_list if_link -/* - * Bit values in if_ipending - */ -#define IFI_RECV 1 /* I want to receive */ -#define IFI_XMIT 2 /* I want to transmit */ - /* * Output queues (ifp->if_snd) and slow device input queues (*ifp->if_slowq) * are queues of messages stored on ifqueue structures