diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-10-15 12:22:37 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-10-16 12:23:22 +0200 |
commit | 7831d36f5bd8c321a9054912c1675c840978314d (patch) | |
tree | ab82ea02f31138bbcfea8c2dd924376429a402d7 | |
parent | f32723663b464ab82285b22af57bf58bd32f759f (diff) | |
download | u-boot-7831d36f5bd8c321a9054912c1675c840978314d.zip u-boot-7831d36f5bd8c321a9054912c1675c840978314d.tar.gz u-boot-7831d36f5bd8c321a9054912c1675c840978314d.tar.bz2 |
efi_loader: avoid EFI_CALL() when draining console
Use internal function.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r-- | lib/efi_loader/efi_console.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index 6d4784e..ab83f8b 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -1359,9 +1359,7 @@ efi_status_t efi_console_get_u16_string(struct efi_simple_text_input_protocol *c ANSI_CLEAR_LINE_TO_END ANSI_CURSOR_SHOW, row, col); - ret = EFI_CALL(cin->reset(cin, false)); - if (ret != EFI_SUCCESS) - return ret; + efi_cin_empty_buffer(); for (;;) { do { |