Input: remove a redundant max() call
authorKang Hu <hukangustc@gmail.com>
Thu, 31 Oct 2013 07:47:53 +0000 (00:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Oct 2013 15:46:07 +0000 (08:46 -0700)
commit95079b8aa84015dc9032e42a1844dd78f76c3d2f
treeba22e5ac3ca0bdd98ddbdb893736f47a1d50aa38
parentdfaaed08ecc01bd513248ba7999daf50ce028352
Input: remove a redundant max() call

dev->hint_events_per_packet is guaranteed to be >= packet_size.
so an extra max() call is not needed.

Signed-off-by: Kang Hu <hukangustc@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c