Input: silead - remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Aug 2016 15:24:46 +0000 (08:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Aug 2016 15:28:11 +0000 (08:28 -0700)
commit22fe874f380336315dd0440dad475ff326784b22
tree009fdf14a736546916417f77b1ce6ba3feb72aef
parent1fcca89bd711800b041a1f5eb9052983df0b3194
Input: silead - remove some dead code

buf[0] is an unsigned char.  touch_nr is an int.  The test for negative
here doesn't make sense so I have removed it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/silead.c