mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Replace goto with continue.
This commit is contained in:
parent
ae4b6e8d53
commit
f876e2239c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143156
@ -1669,16 +1669,16 @@ getmemsize(int first)
|
||||
smap->type, smap->base, smap->length);
|
||||
|
||||
if (smap->type != 0x01)
|
||||
goto next_run;
|
||||
continue;
|
||||
|
||||
if (smap->length == 0)
|
||||
goto next_run;
|
||||
continue;
|
||||
|
||||
#ifndef PAE
|
||||
if (smap->base >= 0xffffffff) {
|
||||
printf("%uK of memory above 4GB ignored\n",
|
||||
(u_int)(smap->length / 1024));
|
||||
goto next_run;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1687,13 +1687,13 @@ getmemsize(int first)
|
||||
if (boothowto & RB_VERBOSE)
|
||||
printf(
|
||||
"Overlapping or non-montonic memory region, ignoring second region\n");
|
||||
goto next_run;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (smap->base == physmap[physmap_idx + 1]) {
|
||||
physmap[physmap_idx + 1] += smap->length;
|
||||
goto next_run;
|
||||
continue;
|
||||
}
|
||||
|
||||
physmap_idx += 2;
|
||||
@ -1704,7 +1704,6 @@ getmemsize(int first)
|
||||
}
|
||||
physmap[physmap_idx] = smap->base;
|
||||
physmap[physmap_idx + 1] = smap->base + smap->length;
|
||||
next_run: ;
|
||||
} while (vmf.vmf_ebx != 0);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user