diff options
| author | 2016-03-01 01:48:14 +0000 | |
|---|---|---|
| committer | 2016-03-01 01:48:14 +0000 | |
| commit | 834d8c96c919c284798077d9d22e201c48807cae (patch) | |
| tree | aa9da76e3e168b39bb7690dfb5a733a551011e8e | |
| parent | Add NET_RT_IFNAMES; OK deraadt@ (diff) | |
| download | wireguard-openbsd-834d8c96c919c284798077d9d22e201c48807cae.tar.xz wireguard-openbsd-834d8c96c919c284798077d9d22e201c48807cae.zip | |
enm_ac in ether_multi is set but never used. so we dont need it.
| -rw-r--r-- | sys/net/if_ethersubr.c | 3 | ||||
| -rw-r--r-- | sys/netinet/if_ether.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 024c21e62cf..362bca2203f 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.233 2016/01/22 17:09:05 sf Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.234 2016/03/01 01:48:14 dlg Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -788,7 +788,6 @@ ether_addmulti(struct ifreq *ifr, struct arpcom *ac) } memcpy(enm->enm_addrlo, addrlo, ETHER_ADDR_LEN); memcpy(enm->enm_addrhi, addrhi, ETHER_ADDR_LEN); - enm->enm_ac = ac; enm->enm_refcount = 1; LIST_INSERT_HEAD(&ac->ac_multiaddrs, enm, enm_list); ac->ac_multicnt++; diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index 00a6a632557..2e40a4011cc 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.h,v 1.66 2016/01/08 13:53:24 mpi Exp $ */ +/* $OpenBSD: if_ether.h,v 1.67 2016/03/01 01:48:14 dlg Exp $ */ /* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */ /* @@ -225,7 +225,6 @@ char *ether_sprintf(u_char *); struct ether_multi { u_int8_t enm_addrlo[ETHER_ADDR_LEN]; /* low or only address of range */ u_int8_t enm_addrhi[ETHER_ADDR_LEN]; /* high or only address of range */ - struct arpcom *enm_ac; /* back pointer to arpcom */ u_int enm_refcount; /* no. claims to this addr/range */ LIST_ENTRY(ether_multi) enm_list; }; |
