grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/7] Remove unused version information from boot/i386/pc/boot.S


From: Pavel Roskin
Subject: [PATCH 2/7] Remove unused version information from boot/i386/pc/boot.S
Date: Tue, 14 Jul 2009 21:00:23 -0400
User-agent: StGit/0.15-rc1-4-g4ce8

ChangeLog:

        * boot/i386/pc/boot.S (boot_version): Remove.
        * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_VER_MAJ):
        Remove.
---
 boot/i386/pc/boot.S         |    3 ---
 include/grub/i386/pc/boot.h |    3 ---
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S
index fb90947..e5685dc 100644
--- a/boot/i386/pc/boot.S
+++ b/boot/i386/pc/boot.S
@@ -92,9 +92,6 @@ cylinder_start:
         * End of BIOS parameter block.
         */
 
-       . = _start + GRUB_BOOT_MACHINE_VER_MAJ
-boot_version:
-       .byte   GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR
 kernel_address:
        .word   GRUB_BOOT_MACHINE_KERNEL_ADDR
 kernel_segment:
diff --git a/include/grub/i386/pc/boot.h b/include/grub/i386/pc/boot.h
index 221ed38..a91f55a 100644
--- a/include/grub/i386/pc/boot.h
+++ b/include/grub/i386/pc/boot.h
@@ -28,9 +28,6 @@
 /* The offset of the end of BPB (BIOS Parameter Block).  */
 #define GRUB_BOOT_MACHINE_BPB_END      0x3e
 
-/* The offset of the major version.  */
-#define GRUB_BOOT_MACHINE_VER_MAJ      0x3e
-
 /* The offset of KERNEL_SECTOR.  */
 #define GRUB_BOOT_MACHINE_KERNEL_SECTOR        0x44
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]