Module Name: src Committed By: jmcneill Date: Tue Dec 31 20:47:05 UTC 2019
Modified Files: src/sys/dev/fdt: fdt_intr.c Log Message: Remove a stupid printf To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/fdt/fdt_intr.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/dev/fdt/fdt_intr.c diff -u src/sys/dev/fdt/fdt_intr.c:1.23 src/sys/dev/fdt/fdt_intr.c:1.24 --- src/sys/dev/fdt/fdt_intr.c:1.23 Sat Nov 16 21:53:38 2019 +++ src/sys/dev/fdt/fdt_intr.c Tue Dec 31 20:47:05 2019 @@ -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 <jmcne...@invisible.ca> @@ -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 @@ fdtbus_intr_establish(int phandle, u_int 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);