framebuffer/configure: remove unused --restore-prev-mode

this is unused, untested and most likely not working at all
This commit is contained in:
Stefan Seyfried
2017-02-04 11:35:05 +01:00
committed by M. Liebmann
parent 2498ebb314
commit c695ae8ea8
2 changed files with 0 additions and 9 deletions

View File

@@ -146,10 +146,6 @@ AC_ARG_ENABLE(keyboard-no-rc,
[ --enable-keyboard-no-rc enable keyboard control, disable rc control], [ --enable-keyboard-no-rc enable keyboard control, disable rc control],
[AC_DEFINE(KEYBOARD_INSTEAD_OF_REMOTE_CONTROL,1,[enable keyboard control, disable rc control])]) [AC_DEFINE(KEYBOARD_INSTEAD_OF_REMOTE_CONTROL,1,[enable keyboard control, disable rc control])])
AC_ARG_ENABLE(restore-prev-mode,
[ --enable-restore-prev-mode enable return from graphics mode],
[AC_DEFINE(RETURN_FROM_GRAPHICS_MODE,1,[enable return from graphics mode])])
AC_ARG_ENABLE(mdev, AC_ARG_ENABLE(mdev,
[ --enable-mdev disable broken neutrino mount hack, use with mdev], [ --enable-mdev disable broken neutrino mount hack, use with mdev],
[AC_DEFINE(ASSUME_MDEV,1,[disable broken neutrino mount hack, use with mdev])]) [AC_DEFINE(ASSUME_MDEV,1,[disable broken neutrino mount hack, use with mdev])])

View File

@@ -409,11 +409,6 @@ CFrameBuffer::~CFrameBuffer()
} }
#if 0 #if 0
#ifdef RETURN_FROM_GRAPHICS_MODE
if (-1 == ioctl(tty,KDSETMODE, kd_mode))
perror("ioctl KDSETMODE");
#endif
if (-1 == ioctl(tty,VT_SETMODE, &vt_mode)) if (-1 == ioctl(tty,VT_SETMODE, &vt_mode))
perror("ioctl VT_SETMODE"); perror("ioctl VT_SETMODE");