From 9aff6c435b86585f0e4664ed5ef43ea72eb9396b Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Wed, 1 Nov 2017 15:55:56 +0000 Subject: [PATCH] Remove unnecessary code --- arch/multiboot.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/arch/multiboot.c b/arch/multiboot.c index 13ac5c1..d48bf08 100644 --- a/arch/multiboot.c +++ b/arch/multiboot.c @@ -5,10 +5,9 @@ #define MULTIBOOT_1_MAGIC 0x2BADB002 #define MULTIBOOT_2_MAGIC 0x36d76289 -#define MULTIBOOT_TAG_TYPE_END 0 -#define MULTIBOOT_TAG_TYPE_CMDLINE 1 -#define MULTIBOOT_TAG_TYPE_BOOT_LOADER_NAME 2 -#define MULTIBOOT_TAG_TYPE_MODULE 3 +#define MULTIBOOT_TAG_TYPE_END 0 +#define MULTIBOOT_TAG_TYPE_CMDLINE 1 +#define MULTIBOOT_TAG_TYPE_MODULE 3 struct multiboot_tag { @@ -66,13 +65,6 @@ void print_multiboot_info(struct KernelMQ_Multiboot_Info info) ); break; - case MULTIBOOT_TAG_TYPE_BOOT_LOADER_NAME: - printf( - "Boot loader name = %s\n", - ((struct multiboot_tag_string *) tag)->string - ); - break; - case MULTIBOOT_TAG_TYPE_MODULE: printf( "Module at 0x%x-0x%x. Command line %s\n",