tablet: drop unnecessary switch case statements

We fall through to the default statement anyway

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-02-02 15:37:24 +10:00
parent 95242ceb4b
commit 5ec1dcbfb4

View file

@ -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;