Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/walnut - G/C unused.



details:   https://anonhg.NetBSD.org/src/rev/9952530ffcb2
branches:  trunk
changeset: 982074:9952530ffcb2
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 05:18:37 2021 +0000

description:
- G/C unused.
- Sort headers.

No binary changes.

diffstat:

 sys/arch/evbppc/walnut/consinit.c |  15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diffs (43 lines):

diff -r 024d580fbff8 -r 9952530ffcb2 sys/arch/evbppc/walnut/consinit.c
--- a/sys/arch/evbppc/walnut/consinit.c Tue Mar 30 05:14:00 2021 +0000
+++ b/sys/arch/evbppc/walnut/consinit.c Tue Mar 30 05:18:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: consinit.c,v 1.9 2021/03/29 13:59:15 rin Exp $ */
+/*     $NetBSD: consinit.c,v 1.10 2021/03/30 05:18:37 rin Exp $        */
 
 /*
  * Copyright (c) 1998
@@ -27,17 +27,16 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.9 2021/03/29 13:59:15 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.10 2021/03/30 05:18:37 rin Exp $");
 
 #include "opt_kgdb.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
+#include <sys/bus.h>
 #include <sys/device.h>
-#include <sys/bus.h>
+#include <sys/systm.h>
 
 #include <powerpc/ibm4xx/ibm405gp.h>
-#include <powerpc/ibm4xx/dev/opbvar.h>
 
 #include "com.h"
 #if (NCOM > 0)
@@ -47,12 +46,6 @@
 #include <powerpc/ibm4xx/dev/comopbvar.h>
 #endif
 
-#include <dev/cons.h>
-
-#ifndef CONSDEVNAME
-#define CONSDEVNAME "com"
-#endif
-
 #if (NCOM > 0)
 #ifndef CONADDR
 #define CONADDR IBM405GP_UART0_BASE



Home | Main Index | Thread Index | Old Index