mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Remove unnecessary code
This commit is contained in:
parent
b3d4b68e43
commit
2c8e2ae0ed
1 changed files with 0 additions and 3 deletions
|
@ -8,7 +8,6 @@ static void printf(const char *format, ...);
|
|||
void print_multiboot_info(unsigned long addr)
|
||||
{
|
||||
struct multiboot_tag *tag;
|
||||
unsigned size;
|
||||
|
||||
if (addr & 7)
|
||||
{
|
||||
|
@ -16,8 +15,6 @@ void print_multiboot_info(unsigned long addr)
|
|||
return;
|
||||
}
|
||||
|
||||
size = *(unsigned *) addr;
|
||||
|
||||
for (
|
||||
tag = (struct multiboot_tag *) (addr + 8);
|
||||
tag->type != MULTIBOOT_TAG_TYPE_END;
|
||||
|
|
Loading…
Reference in a new issue