Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net remove an unused member, enm_ec from ether_multi.



details:   https://anonhg.NetBSD.org/src/rev/e123c4c256b6
branches:  trunk
changeset: 572551:e123c4c256b6
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Jan 08 03:13:09 2005 +0000

description:
remove an unused member, enm_ec from ether_multi.

diffstat:

 sys/net/if_ether.h     |  3 +--
 sys/net/if_ethersubr.c |  5 ++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r a2bf217acb32 -r e123c4c256b6 sys/net/if_ether.h
--- a/sys/net/if_ether.h        Sat Jan 08 03:12:30 2005 +0000
+++ b/sys/net/if_ether.h        Sat Jan 08 03:13:09 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ether.h,v 1.34 2003/08/07 16:32:51 agc Exp $        */
+/*     $NetBSD: if_ether.h,v 1.35 2005/01/08 03:13:09 yamt Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -188,7 +188,6 @@
 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   ethercom *enm_ec;      /* back pointer to ethercom */
        u_int    enm_refcount;          /* no. claims to this addr/range */
        LIST_ENTRY(ether_multi) enm_list;
 };
diff -r a2bf217acb32 -r e123c4c256b6 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Sat Jan 08 03:12:30 2005 +0000
+++ b/sys/net/if_ethersubr.c    Sat Jan 08 03:13:09 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ethersubr.c,v 1.116 2004/06/24 04:15:51 jonathan Exp $      */
+/*     $NetBSD: if_ethersubr.c,v 1.117 2005/01/08 03:13:09 yamt Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.116 2004/06/24 04:15:51 jonathan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.117 2005/01/08 03:13:09 yamt Exp $");
 
 #include "opt_inet.h"
 #include "opt_atalk.h"
@@ -1337,7 +1337,6 @@
        }
        bcopy(addrlo, enm->enm_addrlo, 6);
        bcopy(addrhi, enm->enm_addrhi, 6);
-       enm->enm_ec = ec;
        enm->enm_refcount = 1;
        LIST_INSERT_HEAD(&ec->ec_multiaddrs, enm, enm_list);
        ec->ec_multicnt++;



Home | Main Index | Thread Index | Old Index