From c14bb6059f06f1869f868603e7b6a807559f4948 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Fri, 14 Oct 2022 05:34:54 +0200 Subject: [PATCH] gop: Do not zero default_res out erroneously --- common/drivers/gop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/drivers/gop.c b/common/drivers/gop.c index 4e0b8833..7267d4ec 100644 --- a/common/drivers/gop.c +++ b/common/drivers/gop.c @@ -40,8 +40,6 @@ static void linear_mask_to_mask_shift( static bool mode_to_fb_info(EFI_GRAPHICS_OUTPUT_PROTOCOL *gop, struct fb_info *ret, size_t mode) { EFI_STATUS status; - ret->default_res = false; - EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *mode_info; UINTN mode_info_size;