Skip to content
Commit baf332c0 authored by Anshul Garg's avatar Anshul Garg Committed by Dmitry Torokhov
Browse files

Input: optimize events_per_packet count calculation



This patch avoids unnecessary operations while estimating events per
packet for an input device when event type is not set.

Signed-off-by: default avatarAnshul Garg <anshul.g@samsung.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 189387f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment