diff --git a/sys/dev/ofw/openfirm.c b/sys/dev/ofw/openfirm.c index 6607d8d71ee9..ce0d2fee3313 100644 --- a/sys/dev/ofw/openfirm.c +++ b/sys/dev/ofw/openfirm.c @@ -546,20 +546,9 @@ OF_read(ihandle_t instance, void *addr, int len) args.instance = instance; args.addr = addr; args.len = len; - -#if defined(OPENFIRM_DEBUG) - printf("OF_read: called with instance=%08x, addr=%p, len=%d\n", - args.instance, args.addr, args.len); -#endif - if (openfirmware(&args) == -1) return -1; -#if defined(OPENFIRM_DEBUG) - printf("OF_read: returning instance=%d, addr=%p, len=%d, actual=%d\n", - args.instance, args.addr, args.len, args.actual); -#endif - return args.actual; }