Re: [PATCH 03/11] tty: vt: remove reference to undefined NO_VC_UNI_SCREEN

From: Ilpo Järvinen
Date: Thu Jan 12 2023 - 03:46:34 EST


On Thu, 12 Jan 2023, Jiri Slaby (SUSE) wrote:

> NO_VC_UNI_SCREEN is defined nowhere. Remove the last reference to it.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
> ---
> drivers/tty/vt/vt.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index 7e5baf9f8ad8..561c82e120cf 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -495,9 +495,6 @@ int vc_uniscr_check(struct vc_data *vc)
> unsigned short *p;
> int x, y, mask;
>
> - if (__is_defined(NO_VC_UNI_SCREEN))
> - return -EOPNOTSUPP;
> -
> WARN_CONSOLE_UNLOCKED();
>
> if (!vc->vc_utf)
>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.