Garbage collect some debug code.

This commit is contained in:
Benno Rice 2001-06-27 12:15:12 +00:00
parent 923c5a28eb
commit 97d9f676e5

View File

@ -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;
}