Garbage collect some debug code.
This commit is contained in:
parent
923c5a28eb
commit
97d9f676e5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user