aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2002-02-15 13:22:09 +0000
committerRobert Drehmel <robert@FreeBSD.org>2002-02-15 13:22:09 +0000
commit2649cfd7fd9f3c1e440871b8bfb4c9d4c6a46f56 (patch)
tree167ae42e68bf95a869a78d8f1f316df366bd4aeb /sys/boot
parent1e92845e1b7fb7895d0bb747d20d7a74853b5dd2 (diff)
Notes
Diffstat (limited to 'sys/boot')
-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 90a698c425d05..b235380bdf9ff 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) {