Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Remove a stupid printf



details:   https://anonhg.NetBSD.org/src/rev/d7ca1891fd90
branches:  trunk
changeset: 968017:d7ca1891fd90
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Dec 31 20:47:05 2019 +0000

description:
Remove a stupid printf

diffstat:

 sys/dev/fdt/fdt_intr.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 989c77fcbed6 -r d7ca1891fd90 sys/dev/fdt/fdt_intr.c
--- a/sys/dev/fdt/fdt_intr.c    Tue Dec 31 19:58:56 2019 +0000
+++ b/sys/dev/fdt/fdt_intr.c    Tue Dec 31 20:47:05 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_intr.c,v 1.23 2019/11/16 21:53:38 mlelstv Exp $ */
+/* $NetBSD: fdt_intr.c,v 1.24 2019/12/31 20:47:05 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_intr.c,v 1.23 2019/11/16 21:53:38 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_intr.c,v 1.24 2019/12/31 20:47:05 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -138,10 +138,8 @@
        int ihandle;
 
        specifier = get_specifier_by_index(phandle, index, &ihandle);
-       if (specifier == NULL) {
-               printf("%s: handle not found %u@%x\n",__func__,index,phandle);
+       if (specifier == NULL)
                return NULL;
-       }
 
        return fdtbus_intr_establish_raw(ihandle, specifier, ipl,
            flags, func, arg);



Home | Main Index | Thread Index | Old Index