Module Name:    src
Committed By:   rin
Date:           Tue Mar 30 05:18:37 UTC 2021

Modified Files:
        src/sys/arch/evbppc/walnut: consinit.c

Log Message:
- G/C unused.
- Sort headers.

No binary changes.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbppc/walnut/consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbppc/walnut/consinit.c
diff -u src/sys/arch/evbppc/walnut/consinit.c:1.9 src/sys/arch/evbppc/walnut/consinit.c:1.10
--- src/sys/arch/evbppc/walnut/consinit.c:1.9	Mon Mar 29 13:59:15 2021
+++ src/sys/arch/evbppc/walnut/consinit.c	Tue Mar 30 05:18:37 2021
@@ -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/device.h>
 #include <sys/bus.h>
+#include <sys/device.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 @@ __KERNEL_RCSID(0, "$NetBSD: consinit.c,v
 #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

Reply via email to