Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Remove unused macro definition (the NetBSD versi...



details:   https://anonhg.NetBSD.org/src/rev/c76aa32a2a7d
branches:  trunk
changeset: 750916:c76aa32a2a7d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 18 20:45:12 2010 +0000

description:
Remove unused macro definition (the NetBSD version would just not go
through a compiler).

diffstat:

 sys/dev/pci/if_devar.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 6a814acbd3fe -r c76aa32a2a7d sys/dev/pci/if_devar.h
--- a/sys/dev/pci/if_devar.h    Mon Jan 18 19:17:42 2010 +0000
+++ b/sys/dev/pci/if_devar.h    Mon Jan 18 20:45:12 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_devar.h,v 1.52 2009/05/06 10:34:32 cegger Exp $     */
+/*     $NetBSD: if_devar.h,v 1.53 2010/01/18 20:45:12 pooka Exp $      */
 
 /*-
  * Copyright (c) 1994-1997 Matt Thomas (matt%3am-software.com@localhost)
@@ -945,7 +945,6 @@
 #if NBPFILTER > 0
 #define        TULIP_BPF_MTAP(sc, m)   bpf_mtap(&(sc)->tulip_if, m)
 #define        TULIP_BPF_TAP(sc, p, l) bpf_tap(&(sc)->tulip_if, p, l)
-#define        TULIP_BPF_ATTACH(sc)    bpfattach(&(sc)->tulip_if, DLT_EN10MB, sizeof(struct ether_header))
 #endif
 #define        tulip_intrfunc_t        void
 #define        TULIP_VOID_INTRFUNC
@@ -1064,7 +1063,6 @@
 #if !defined(TULIP_BPF_MTAP) && NBPFILTER > 0
 #define        TULIP_BPF_MTAP(sc, m)   bpf_mtap((sc)->tulip_bpf, m)
 #define        TULIP_BPF_TAP(sc, p, l) bpf_tap((sc)->tulip_bpf, p, l)
-#define        TULIP_BPF_ATTACH(sc)    bpfattach(&(sc)->tulip_bpf, &(sc)->tulip_if, DLT_EN10MB, sizeof(struct ether_header))
 #endif
 
 #if defined(TULIP_PERFSTATS)



Home | Main Index | Thread Index | Old Index