summaryrefslogtreecommitdiff
path: root/dix/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/devices.c')
-rw-r--r--dix/devices.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dix/devices.c b/dix/devices.c
index b9d1c85a5..d14eddd72 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -471,12 +471,10 @@ CoreKeyboardCtl(DeviceIntPtr pDev, KeybdCtrl *ctrl)
static int
CoreKeyboardProc(DeviceIntPtr pDev, int what)
{
- XkbRMLVOSet rmlvo;
switch (what) {
case DEVICE_INIT:
- XkbGetRulesDflts(&rmlvo);
- if (!InitKeyboardDeviceStruct(pDev, &rmlvo, CoreKeyboardBell,
+ if (!InitKeyboardDeviceStruct(pDev, NULL, CoreKeyboardBell,
CoreKeyboardCtl))
{
ErrorF("Keyboard initialization failed. This could be a missing "