NO_VC_UNI_SCREEN is defined nowhere. Remove the last reference to it.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
---
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)
--
2.39.0
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) <[email protected]>
> ---
> 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 <[email protected]>
--
i.