tty: vt: remove reference to undefined NO_VC_UNI_SCREEN
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Thu, 12 Jan 2023 08:01:28 +0000 (09:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 14:06:41 +0000 (15:06 +0100)
NO_VC_UNI_SCREEN is defined nowhere. Remove the last reference to it.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230112080136.4929-3-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c

index a8fa63c..85eaa17 100644 (file)
@@ -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)