]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Definitively remove allocation from region start if no free header is present at...
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 3 Apr 2010 17:41:36 +0000 (19:41 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 3 Apr 2010 17:41:36 +0000 (19:41 +0200)
lib/relocator.c

index 11d2cff6b2248d7a7543b721d960ba430fe5cab3..b3a7801c503c8dea219aa821afb0f398f33143af 100644 (file)
@@ -359,17 +359,6 @@ malloc_in_range (struct grub_relocator *rel,
          p = pa->next;
        }
       while (pa != r->first);
-      /* FIXME */
-      if (0)//if (!pre_added)
-       {
-         events[N].type = REG_BEG_START;
-         events[N].pos = (grub_addr_t) r - r->pre_size;
-         events[N].reg = r;
-         N++;
-         events[N].type = REG_BEG_END;
-         events[N].pos = (grub_addr_t) r;
-         N++;
-       }
     }
 
 #if GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS