diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-30 11:49:21 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-30 12:30:59 +1000 |
commit | 2144f7d83426136cc1a9de2fafb302683645c6da (patch) | |
tree | 464c96f3b4bbff43ec6b8fe11c6564c748e54708 | |
parent | 61b4e88e01f32e976f85e7970a7f5b21fcd84f97 (diff) |
Remove unused has_xy.
has_xy is only ever set, but not used for anything else.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/evdev.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/evdev.c b/src/evdev.c index 5da8960..2b41343 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1774,7 +1774,7 @@ error: static int EvdevProbe(InputInfoPtr pInfo) { - int i, has_rel_axes, has_abs_axes, has_xy, has_keys, num_buttons, has_scroll; + int i, has_rel_axes, has_abs_axes, has_keys, num_buttons, has_scroll; int kernel24 = 0; EvdevPtr pEvdev = pInfo->private; @@ -1793,7 +1793,6 @@ EvdevProbe(InputInfoPtr pInfo) has_rel_axes = FALSE; has_abs_axes = FALSE; - has_xy = FALSE; has_keys = FALSE; has_scroll = FALSE; num_buttons = 0; @@ -1831,7 +1830,6 @@ EvdevProbe(InputInfoPtr pInfo) if (TestBit(REL_X, pEvdev->rel_bitmask) && TestBit(REL_Y, pEvdev->rel_bitmask)) { xf86Msg(X_INFO, "%s: Found x and y relative axes\n", pInfo->name); - has_xy = TRUE; } if (TestBit(REL_WHEEL, pEvdev->rel_bitmask) || @@ -1877,7 +1875,6 @@ EvdevProbe(InputInfoPtr pInfo) pEvdev->flags |= EVDEV_BUTTON_EVENTS; } } - has_xy = TRUE; } } |