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 duplicated inclusion of net/bpf.h.



details:   https://anonhg.NetBSD.org/src/rev/eab38b3895bb
branches:  trunk
changeset: 323668:eab38b3895bb
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jun 25 05:06:10 2018 +0000

description:
Remove duplicated inclusion of net/bpf.h.

diffstat:

 sys/dev/pci/if_alc.c      |  7 ++-----
 sys/dev/pci/ixgbe/ixgbe.h |  3 +--
 2 files changed, 3 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 3aa472f5baf7 -r eab38b3895bb sys/dev/pci/if_alc.c
--- a/sys/dev/pci/if_alc.c      Mon Jun 25 04:59:42 2018 +0000
+++ b/sys/dev/pci/if_alc.c      Mon Jun 25 05:06:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_alc.c,v 1.26 2018/06/01 09:34:39 maxv Exp $ */
+/*     $NetBSD: if_alc.c,v 1.27 2018/06/25 05:06:10 msaitoh Exp $      */
 /*     $OpenBSD: if_alc.c,v 1.1 2009/08/08 09:31:13 kevlo Exp $        */
 /*-
  * Copyright (c) 2009, Pyun YongHyeon <yongari%FreeBSD.org@localhost>
@@ -49,14 +49,13 @@
 
 #include <sys/bus.h>
 
+#include <net/bpf.h>
 #include <net/if.h>
 #include <net/if_dl.h>
 #include <net/if_llc.h>
 #include <net/if_media.h>
 #include <net/if_ether.h>
 
-#include <net/bpf.h>
-
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
@@ -67,8 +66,6 @@
 #include <net/if_types.h>
 #include <net/if_vlanvar.h>
 
-#include <net/bpf.h>
-
 #include <dev/mii/mii.h>
 #include <dev/mii/miivar.h>
 
diff -r 3aa472f5baf7 -r eab38b3895bb sys/dev/pci/ixgbe/ixgbe.h
--- a/sys/dev/pci/ixgbe/ixgbe.h Mon Jun 25 04:59:42 2018 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.h Mon Jun 25 05:06:10 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.h,v 1.49 2018/05/23 10:11:07 msaitoh Exp $ */
+/* $NetBSD: ixgbe.h,v 1.50 2018/06/25 05:06:10 msaitoh Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -89,7 +89,6 @@
 #include <net/if_dl.h>
 #include <net/if_media.h>
 
-#include <net/bpf.h>
 #include <net/if_types.h>
 #include <net/if_vlanvar.h>
 



Home | Main Index | Thread Index | Old Index