tablet: remove an always-true part of an if condition
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 6 May 2022 04:57:40 +0000 (14:57 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 23 May 2022 05:43:18 +0000 (05:43 +0000)
commit374d32c6bed3433355c39bb17e5bf6a6545ee72c
tree4e1234d4c00c8bdc78139c84b22cb73d2cdd98b0
parenta9e6cd03d0ba02ed402dc384b86089f7119d4d4f
tablet: remove an always-true part of an if condition

A few lines north of here we return early if neither bit is set. If we
get to this point, at least one bit is set so this part of the condition
always evaluates to true.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-tablet.c