Skip to content

Commit 3d33426

Browse files
authored
redundant condition while loop (#135)
1 parent 20cdab9 commit 3d33426

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

04_Memory_Management/04_Virtual_Memory_Manager.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ vm_object* prev = NULL;
143143
uintptr_t found = 0;
144144

145145
while (current != NULL) {
146-
if (current == NULL)
147-
break;
148-
149146
uintptr_t base = (prev == NULL ? 0 : prev->base);
150147
if (base + length < current->base) {
151148
found = base;

0 commit comments

Comments
 (0)