diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-03-01 01:48:15 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-03-01 01:48:15 +0000 |
commit | b80e42c511655e5f489040a78141dd71722084a5 (patch) | |
tree | 328d63a94e4411fb4020e68d4438887cbd877892 | |
parent | 374a04aa825d26a0b981f0044b236a1bb18baed4 (diff) |
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; }; |