summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandr Shadchin <alexandr.shadchin@gmail.com>2011-01-06 12:59:19 +0500
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-07 15:22:14 -0800
commite929446a401e73bcc680c488ada2fc50eb225b23 (patch)
tree7d579e196c3a9a026ebb0095992c5a6575b259d0
parentcc1a2ba8c9aa3a4bed25394c981b41c903502c84 (diff)
downloadxorg-driver-xf86-input-keyboard-e929446a401e73bcc680c488ada2fc50eb225b23.tar.gz
Removing unused SetKbdRepeat
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/bsd_kbd.c20
-rw-r--r--src/hurd_kbd.c7
-rw-r--r--src/sun_kbd.c8
-rw-r--r--src/xf86OSKbd.h2
4 files changed, 0 insertions, 37 deletions
diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c
index ebf16c2..d0cedcd 100644
--- a/src/bsd_kbd.c
+++ b/src/bsd_kbd.c
@@ -138,25 +138,6 @@ GetKbdLeds(InputInfoPtr pInfo)
return(leds);
}
-static void
-SetKbdRepeat(InputInfoPtr pInfo, char rad)
-{
- KbdDevPtr pKbd = (KbdDevPtr) pInfo->private;
- switch (pKbd->consType) {
-
-#ifdef PCCONS_SUPPORT
- case PCCONS:
- break;
-#endif
-#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
- case SYSCONS:
- case PCVT:
- ioctl(pInfo->fd, KDSETRAD, rad);
- break;
-#endif
- }
-}
-
static int
KbdOn(InputInfoPtr pInfo, int what)
{
@@ -458,7 +439,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo)
pKbd->Bell = SoundBell;
pKbd->SetLeds = SetKbdLeds;
pKbd->GetLeds = GetKbdLeds;
- pKbd->SetKbdRepeat = SetKbdRepeat;
pKbd->KbdGetMapping = KbdGetMapping;
pKbd->RemapScanCode = NULL;
diff --git a/src/hurd_kbd.c b/src/hurd_kbd.c
index 27746da..dde5fbb 100644
--- a/src/hurd_kbd.c
+++ b/src/hurd_kbd.c
@@ -95,12 +95,6 @@ GetKbdLeds(InputInfoPtr pInfo)
return 0;
}
-static void
-SetKbdRepeat(InputInfoPtr pInfo, char rad)
-{
- return;
-}
-
static void
KbdGetMapping(InputInfoPtr pInfo, KeySymsPtr pKeySyms, CARD8 *pModMap)
{
@@ -161,7 +155,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo)
pKbd->Bell = SoundKbdBell;
pKbd->SetLeds = SetKbdLeds;
pKbd->GetLeds = GetKbdLeds;
- pKbd->SetKbdRepeat = SetKbdRepeat;
pKbd->KbdGetMapping = KbdGetMapping;
pKbd->RemapScanCode = ATScancode;
pKbd->OpenKeyboard = OpenKeyboard;
diff --git a/src/sun_kbd.c b/src/sun_kbd.c
index 4dcd01b..05d1bd9 100644
--- a/src/sun_kbd.c
+++ b/src/sun_kbd.c
@@ -409,13 +409,6 @@ GetKbdLeds(InputInfoPtr pInfo)
return leds;
}
-/* ARGSUSED0 */
-static void
-SetKbdRepeat(InputInfoPtr pInfo, char rad)
-{
- /* Nothing to do */
-}
-
static void
CloseKeyboard(InputInfoPtr pInfo)
{
@@ -519,7 +512,6 @@ xf86OSKbdPreInit(InputInfoPtr pInfo)
pKbd->Bell = SoundKbdBell;
pKbd->SetLeds = SetKbdLeds;
pKbd->GetLeds = GetKbdLeds;
- pKbd->SetKbdRepeat = SetKbdRepeat;
pKbd->KbdGetMapping = KbdGetMapping;
pKbd->RemapScanCode = NULL;
diff --git a/src/xf86OSKbd.h b/src/xf86OSKbd.h
index 0e9fa4d..561bf89 100644
--- a/src/xf86OSKbd.h
+++ b/src/xf86OSKbd.h
@@ -40,7 +40,6 @@ typedef void (*BellProc)(InputInfoPtr pInfo,
int loudness, int pitch, int duration);
typedef void (*SetLedsProc)(InputInfoPtr pInfo, int leds);
typedef int (*GetLedsProc)(InputInfoPtr pInfo);
-typedef void (*SetKbdRepeatProc)(InputInfoPtr pInfo, char rad);
typedef void (*KbdGetMappingProc)(InputInfoPtr pInfo,
KeySymsPtr pKeySyms, CARD8* pModMap);
typedef int (*RemapScanCodeProc)(InputInfoPtr pInfo, int *scanCode);
@@ -60,7 +59,6 @@ typedef struct {
BellProc Bell;
SetLedsProc SetLeds;
GetLedsProc GetLeds;
- SetKbdRepeatProc SetKbdRepeat;
KbdGetMappingProc KbdGetMapping;
RemapScanCodeProc RemapScanCode;