summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-02-15 13:22:09 +0000
committerrobert <robert@FreeBSD.org>2002-02-15 13:22:09 +0000
commit7e57a5d41a0e30de69ef79baf33bc9558d9ab0cb (patch)
tree167ae42e68bf95a869a78d8f1f316df366bd4aeb
parent5720876ee554535fd26c4078e06e9e1e61e0bee0 (diff)
downloadFreeBSD-src-7e57a5d41a0e30de69ef79baf33bc9558d9ab0cb.zip
FreeBSD-src-7e57a5d41a0e30de69ef79baf33bc9558d9ab0cb.tar.gz
- 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.
-rw-r--r--sys/boot/ofw/libofw/ofw_disk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/boot/ofw/libofw/ofw_disk.c b/sys/boot/ofw/libofw/ofw_disk.c
index 90a698c..b235380 100644
--- a/sys/boot/ofw/libofw/ofw_disk.c
+++ b/sys/boot/ofw/libofw/ofw_disk.c
@@ -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) {
OpenPOWER on IntegriCloud