- Remove unneeded variable.
- Remove change for my local configuration that slipped in with the last commit; I am having problems booting when multiple SCSI disks are attached, so I will change this part as soon as I find a solution, anyway.
This commit is contained in:
parent
5720876ee5
commit
7e57a5d41a
@ -75,7 +75,6 @@ ofwd_init(void)
|
||||
int ret;
|
||||
char devpath[255];
|
||||
ihandle_t instance;
|
||||
int i;
|
||||
|
||||
ofw_devsearch_init();
|
||||
while ((ret = ofw_devsearch("block", devpath)) != 0) {
|
||||
@ -96,7 +95,6 @@ ofwd_init(void)
|
||||
printf("disk%d is %s\n", nofwdinfo, ofwdinfo[nofwdinfo].ofwd_path);
|
||||
nofwdinfo++;
|
||||
OF_close(instance);
|
||||
break;
|
||||
}
|
||||
|
||||
if (nofwdinfo > MAXDEV) {
|
||||
|
Loading…
Reference in New Issue
Block a user