From 151fb4fc6dfcecb1abef53bb02d51c6057998de9 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 3 Apr 2012 13:47:08 +0100 Subject: [PATCH] Remove unused device_spec Signed-off-by: Daniel Stone --- src/XKBcommonint.h | 1 - src/alloc.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/XKBcommonint.h b/src/XKBcommonint.h index ebe2c85..726f859 100644 --- a/src/XKBcommonint.h +++ b/src/XKBcommonint.h @@ -397,7 +397,6 @@ struct xkb_desc { unsigned int refcnt; unsigned int defined; unsigned short flags; - unsigned short device_spec; xkb_keycode_t min_key_code; xkb_keycode_t max_key_code; diff --git a/src/alloc.c b/src/alloc.c index 30af089..3685d9a 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -268,7 +268,6 @@ XkbcAllocKeyboard(struct xkb_context *context) xkb->refcnt = 1; xkb_context_ref(context); xkb->context = context; - xkb->device_spec = XkbUseCoreKbd; return xkb; } -- 2.7.4