summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2023-01-12 09:01:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 15:06:41 +0100
commit70caeac76d1c3274f3bd16093c5a5f61517ab2a2 (patch)
treeb2812419c26305907304083740c35c1b8ed81fd8 /drivers
parenttty: vt: drop get_vc_uniscr() (diff)
downloadlinux-70caeac76d1c3274f3bd16093c5a5f61517ab2a2.tar.xz
linux-70caeac76d1c3274f3bd16093c5a5f61517ab2a2.zip
tty: vt: remove reference to undefined NO_VC_UNI_SCREEN
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/vt/vt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index a8fa63cd3d93..85eaa17e37fb 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)