Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc Drop unused headers. No functional changes ...



details:   https://anonhg.NetBSD.org/src/rev/a290ab075b7b
branches:  trunk
changeset: 949235:a290ab075b7b
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jan 06 08:17:46 2021 +0000

description:
Drop unused headers. No functional changes intended.

diffstat:

 sys/arch/powerpc/include/vmparam.h      |  3 +--
 sys/arch/powerpc/pci/pciconf_indirect.c |  8 ++------
 sys/arch/powerpc/pci/pciconf_ofmethod.c |  8 ++------
 3 files changed, 5 insertions(+), 14 deletions(-)

diffs (75 lines):

diff -r 4bdd27fab0cf -r a290ab075b7b sys/arch/powerpc/include/vmparam.h
--- a/sys/arch/powerpc/include/vmparam.h        Wed Jan 06 08:14:34 2021 +0000
+++ b/sys/arch/powerpc/include/vmparam.h        Wed Jan 06 08:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.24 2020/07/06 08:26:10 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.25 2021/01/06 08:17:46 rin Exp $ */
 
 #ifndef _POWERPC_VMPARAM_H_
 #define _POWERPC_VMPARAM_H_
@@ -6,7 +6,6 @@
 #ifdef _KERNEL_OPT
 #include "opt_modular.h"
 #include "opt_ppcarch.h"
-#include "opt_uvm.h"
 #endif
 
 /*
diff -r 4bdd27fab0cf -r a290ab075b7b sys/arch/powerpc/pci/pciconf_indirect.c
--- a/sys/arch/powerpc/pci/pciconf_indirect.c   Wed Jan 06 08:14:34 2021 +0000
+++ b/sys/arch/powerpc/pci/pciconf_indirect.c   Wed Jan 06 08:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciconf_indirect.c,v 1.6 2015/10/02 05:22:52 msaitoh Exp $ */
+/* $NetBSD: pciconf_indirect.c,v 1.7 2021/01/06 08:17:46 rin Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciconf_indirect.c,v 1.6 2015/10/02 05:22:52 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciconf_indirect.c,v 1.7 2021/01/06 08:17:46 rin Exp $");
 
 #define _POWERPC_BUS_DMA_PRIVATE
 
@@ -52,10 +52,6 @@
 
 #include <machine/pio.h>
 
-#if NISA > 0
-#include <dev/isa/isavar.h>
-#endif
-
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pcireg.h>
 #include <dev/pci/pcidevs.h>
diff -r 4bdd27fab0cf -r a290ab075b7b sys/arch/powerpc/pci/pciconf_ofmethod.c
--- a/sys/arch/powerpc/pci/pciconf_ofmethod.c   Wed Jan 06 08:14:34 2021 +0000
+++ b/sys/arch/powerpc/pci/pciconf_ofmethod.c   Wed Jan 06 08:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciconf_ofmethod.c,v 1.6 2020/07/06 09:34:17 rin Exp $ */
+/* $NetBSD: pciconf_ofmethod.c,v 1.7 2021/01/06 08:17:46 rin Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 #define _POWERPC_BUS_DMA_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciconf_ofmethod.c,v 1.6 2020/07/06 09:34:17 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciconf_ofmethod.c,v 1.7 2021/01/06 08:17:46 rin Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -55,10 +55,6 @@
 #include <dev/ofw/openfirm.h>
 #include <dev/ofw/ofw_pci.h>
 
-#if NISA > 0
-#include <dev/isa/isavar.h>
-#endif
-
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pcireg.h>
 #include <dev/pci/pcidevs.h>



Home | Main Index | Thread Index | Old Index