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 /sys/net | |
parent | 374a04aa825d26a0b981f0044b236a1bb18baed4 (diff) |
enm_ac in ether_multi is set but never used. so we dont need it.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_ethersubr.c | 3 |
1 files changed, 1 insertions, 2 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++; |