projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95242ce
)
tablet: drop unnecessary switch case statements
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 2 Feb 2018 05:37:24 +0000
(15:37 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 7 Feb 2018 00:06:29 +0000
(10:06 +1000)
We fall through to the default statement anyway
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-tablet.c
patch
|
blob
|
history
diff --git
a/src/evdev-tablet.c
b/src/evdev-tablet.c
index 8188686c63369ce82e4bf7614bd1c6979be9faa1..5d901f442e630ba129b990af456c4d04abc9efe1 100644
(file)
--- a/
src/evdev-tablet.c
+++ b/
src/evdev-tablet.c
@@
-757,16
+757,6
@@
tablet_process_key(struct tablet_dispatch *tablet,
TABLET_TOOL_LEAVING_CONTACT);
}
break;
- case BTN_LEFT:
- case BTN_RIGHT:
- case BTN_MIDDLE:
- case BTN_SIDE:
- case BTN_EXTRA:
- case BTN_FORWARD:
- case BTN_BACK:
- case BTN_TASK:
- case BTN_STYLUS:
- case BTN_STYLUS2:
default:
tablet_update_button(tablet, e->code, e->value);
break;