x86/boot: Drop redundant code setting the root device
authorArd Biesheuvel <ardb@kernel.org>
Tue, 12 Sep 2023 09:00:57 +0000 (09:00 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Sep 2023 09:18:42 +0000 (11:18 +0200)
commit7448e8e5d15a3c4df649bf6d6d460f78396f7e1e
treeb025c3ece6eea6375db430bc79ccebc40bfe133f
parent8eace5b3555606e684739bef5bcdfcfe68235257
x86/boot: Drop redundant code setting the root device

The root device defaults to 0,0 and is no longer configurable at build
time [0], so there is no need for the build tool to ever write to this
field.

[0] 079f85e624189292 ("x86, build: Do not set the root_dev field in bzImage")

This change has no impact on the resulting bzImage binary.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230912090051.4014114-23-ardb@google.com
arch/x86/boot/header.S
arch/x86/boot/tools/build.c