summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 247425c1..92f1554f 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1131,10 +1131,6 @@ i830SetHotkeyControl(ScrnInfoPtr pScrn, int mode)
* DRM mode setting Linux only at this point... later on we could
* add a wrapper here.
*/
-#ifdef __linux__
-#include <linux/kd.h>
-#endif
-
static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn)
{
#if XSERVER_LIBPCIACCESS
@@ -1159,10 +1155,6 @@ static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn)
if (ret)
return FALSE;
-#ifdef __linux__
- ioctl(xf86Info.consoleFd, KDSETMODE, KD_TEXT);
-#endif
-
return TRUE;
}
#else