diff options
author | brooks <brooks@FreeBSD.org> | 2007-05-16 18:37:37 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2007-05-16 18:37:37 +0000 |
commit | ec3f5ae79f183ed96738b13d970bdf0219a1eca5 (patch) | |
tree | 907dd63d2ceff5966c82b05501c9e48a4caba191 /sys/net | |
parent | 8f2f6eb60efc1b0c5c7f131e9e3d0281c6d9745f (diff) | |
download | FreeBSD-src-ec3f5ae79f183ed96738b13d970bdf0219a1eca5.zip FreeBSD-src-ec3f5ae79f183ed96738b13d970bdf0219a1eca5.tar.gz |
The struct if_data members ifi_recvquota and ifi_xmitquota have been
unused for ages. Rename them to ifi_spare_char1 and ifi_spare_char2
respectively to indicate this face.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.h | 4 | ||||
-rw-r--r-- | sys/net/if_var.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 177176d..49a4826 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -83,8 +83,8 @@ struct if_data { u_char ifi_addrlen; /* media address length */ u_char ifi_hdrlen; /* media header length */ u_char ifi_link_state; /* current link state */ - u_char ifi_recvquota; /* polling quota for receive intrs */ - u_char ifi_xmitquota; /* polling quota for xmit intrs */ + u_char ifi_spare_char1; /* spare byte */ + u_char ifi_spare_char2; /* spare byte */ u_char ifi_datalen; /* length of this data struct */ u_long ifi_mtu; /* maximum transmission unit */ u_long ifi_metric; /* routing metric (external only) */ diff --git a/sys/net/if_var.h b/sys/net/if_var.h index ef074f5..98f2793 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -216,8 +216,6 @@ typedef void if_init_f_t(void *); #define if_iqdrops if_data.ifi_iqdrops #define if_noproto if_data.ifi_noproto #define if_lastchange if_data.ifi_lastchange -#define if_recvquota if_data.ifi_recvquota -#define if_xmitquota if_data.ifi_xmitquota #define if_rawoutput(if, m, sa) if_output(if, m, sa, (struct rtentry *)NULL) /* for compatibility with other BSDs */ |