Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove extra newline from boot messages (isa and ...



details:   https://anonhg.NetBSD.org/src/rev/0ef1d3cef112
branches:  trunk
changeset: 1021268:0ef1d3cef112
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 22 01:24:27 2021 +0000

description:
Remove extra newline from boot messages (isa and acpi front-ends
already provide the newline).

diffstat:

 sys/dev/ic/tpm.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 896af31425cf -r 0ef1d3cef112 sys/dev/ic/tpm.c
--- a/sys/dev/ic/tpm.c  Fri May 21 21:53:15 2021 +0000
+++ b/sys/dev/ic/tpm.c  Sat May 22 01:24:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tpm.c,v 1.19 2021/01/04 18:26:59 riastradh Exp $       */
+/*     $NetBSD: tpm.c,v 1.20 2021/05/22 01:24:27 thorpej Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.19 2021/01/04 18:26:59 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.20 2021/05/22 01:24:27 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -505,9 +505,6 @@
 {
        int rv;
 
-       aprint_naive("\n");
-       aprint_normal("\n");
-
        sc->sc_caps = bus_space_read_4(sc->sc_bt, sc->sc_bh,
            TPM_INTF_CAPABILITY);
        sc->sc_devid = bus_space_read_4(sc->sc_bt, sc->sc_bh, TPM_ID);



Home | Main Index | Thread Index | Old Index