diff options
author | Alexandr Shadchin <alexandr.shadchin@gmail.com> | 2010-11-29 21:02:39 +0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-30 08:02:36 +1000 |
commit | 155b3e80fc95ea8397bc66fad18f5fa68d54a88e (patch) | |
tree | 856ed2c83cdb4fc9947d6e327f6132cc3ca04a05 | |
parent | f11f2a7b5643cde57440102ad822995c70b142fb (diff) |
Removing unused variables vtSwitchSupported and VTSwitchEnabled
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/bsd_kbd.c | 9 | ||||
-rw-r--r-- | src/hurd_kbd.c | 1 | ||||
-rw-r--r-- | src/lnx_kbd.c | 6 | ||||
-rw-r--r-- | src/sun_kbd.c | 1 | ||||
-rw-r--r-- | src/xf86OSKbd.h | 1 |
5 files changed, 0 insertions, 18 deletions
diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 3653042..35d3649 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -29,8 +29,6 @@ extern void KbdGetMapping(InputInfoPtr pInfo, KeySymsPtr pKeySyms, CARD8 *pModMap); -extern Bool VTSwitchEnabled; - static KbdProtocolRec protocols[] = { {"standard", PROT_STD }, #ifdef WSCONS_SUPPORT @@ -406,12 +404,6 @@ OpenKeyboard(InputInfoPtr pInfo) xfree(s); } -#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT) - if (pKbd->isConsole && - ((pKbd->consType == SYSCONS) || (pKbd->consType == PCVT))) - pKbd->vtSwitchSupported = TRUE; -#endif - #ifdef WSCONS_SUPPORT if( prot == PROT_WSCONS) { pKbd->consType = WSCONS; @@ -474,7 +466,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo) pKbd->RemapScanCode = NULL; pKbd->OpenKeyboard = OpenKeyboard; - pKbd->vtSwitchSupported = FALSE; pKbd->CustomKeycodes = FALSE; pKbd->private = xcalloc(sizeof(BsdKbdPrivRec), 1); diff --git a/src/hurd_kbd.c b/src/hurd_kbd.c index 6063b4b..27746da 100644 --- a/src/hurd_kbd.c +++ b/src/hurd_kbd.c @@ -165,7 +165,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo) pKbd->KbdGetMapping = KbdGetMapping; pKbd->RemapScanCode = ATScancode; pKbd->OpenKeyboard = OpenKeyboard; - pKbd->vtSwitchSupported = FALSE; pKbd->CustomKeycodes = FALSE; pKbd->private = NULL; pInfo->read_input = ReadInput; diff --git a/src/lnx_kbd.c b/src/lnx_kbd.c index 9b3aae3..63b51d9 100644 --- a/src/lnx_kbd.c +++ b/src/lnx_kbd.c @@ -37,8 +37,6 @@ static KbdProtocolRec protocols[] = { { NULL, PROT_UNKNOWN_KBD } }; -extern Bool VTSwitchEnabled; - static void SoundBell(InputInfoPtr pInfo, int loudness, int pitch, int duration) { @@ -203,9 +201,6 @@ OpenKeyboard(InputInfoPtr pInfo) free(s); } - if (pKbd->isConsole) - pKbd->vtSwitchSupported = TRUE; - return TRUE; } @@ -225,7 +220,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo) pKbd->RemapScanCode = NULL; pKbd->OpenKeyboard = OpenKeyboard; - pKbd->vtSwitchSupported = FALSE; pKbd->private = calloc(sizeof(LnxKbdPrivRec), 1); if (pKbd->private == NULL) { diff --git a/src/sun_kbd.c b/src/sun_kbd.c index 3f98c4e..86b8f97 100644 --- a/src/sun_kbd.c +++ b/src/sun_kbd.c @@ -538,7 +538,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo) pKbd->OpenKeyboard = OpenKeyboard; - pKbd->vtSwitchSupported = FALSE; pKbd->CustomKeycodes = FALSE; pKbd->private = xcalloc(sizeof(sunKbdPrivRec), 1); diff --git a/src/xf86OSKbd.h b/src/xf86OSKbd.h index 176bcd0..0e9fa4d 100644 --- a/src/xf86OSKbd.h +++ b/src/xf86OSKbd.h @@ -73,7 +73,6 @@ typedef struct { unsigned long xledsMask; unsigned long keyLeds; int scanPrefix; - Bool vtSwitchSupported; Bool CustomKeycodes; Bool isConsole; TransMapPtr scancodeMap; |