]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-boot: remove unneeded false assignment
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 6 Oct 2023 15:12:43 +0000 (16:12 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 6 Oct 2023 15:21:01 +0000 (16:21 +0100)
When the assignment is missing, the default 0/NULL/false value is used.
So drop the explicit piece in config_load_defaults()

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/boot/efi/boot.c

index e3f3a13ed73b52454a14583098a3c1cd3a020861..c5806d83d974d85e4a592e6340865e97a4da92b8 100644 (file)
@@ -1596,7 +1596,6 @@ static void config_load_defaults(Config *config, EFI_FILE *root_dir) {
                 .editor = true,
                 .auto_entries = true,
                 .auto_firmware = true,
-                .reboot_for_bitlocker = false,
                 .secure_boot_enroll = ENROLL_IF_SAFE,
                 .idx_default_efivar = IDX_INVALID,
                 .console_mode = CONSOLE_MODE_KEEP,