Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii fix blank printf at attach



details:   https://anonhg.NetBSD.org/src/rev/4aaec845d17e
branches:  trunk
changeset: 372224:4aaec845d17e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Oct 31 22:45:13 2022 +0000

description:
fix blank printf at attach

diffstat:

 sys/dev/mii/micphy.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 64869f3b8f0b -r 4aaec845d17e sys/dev/mii/micphy.c
--- a/sys/dev/mii/micphy.c      Mon Oct 31 22:23:38 2022 +0000
+++ b/sys/dev/mii/micphy.c      Mon Oct 31 22:45:13 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: micphy.c,v 1.14 2020/03/28 18:37:18 thorpej Exp $      */
+/*     $NetBSD: micphy.c,v 1.15 2022/10/31 22:45:13 jmcneill Exp $     */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: micphy.c,v 1.14 2020/03/28 18:37:18 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: micphy.c,v 1.15 2022/10/31 22:45:13 jmcneill Exp $");
 
 #include "opt_mii.h"
 
@@ -244,9 +244,7 @@
 
        mii_unlock(mii);
 
-       aprint_normal_dev(self, "");
        mii_phy_add_media(sc);
-       aprint_normal("\n");
 }
 
 static void



Home | Main Index | Thread Index | Old Index