]> git.baikalelectronics.ru Git - kernel.git/commit
Input: intel-mid-touch - remove pointless checking for variable 'found'
authorAxel Lin <axel.lin@gmail.com>
Tue, 19 Jul 2011 00:09:05 +0000 (17:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Jul 2011 00:10:41 +0000 (17:10 -0700)
commit7d1528b3ca04a49b15d9d6fcf3f7ace546f57a67
tree6b95a5554d47bff1c31417cf822c9bced934d3fd
parentf536cffbfc1dd26217e8020809c71223e13707f1
Input: intel-mid-touch - remove pointless checking for variable 'found'

The implementation does break from the for loop after we assign 'i' to
variable 'found'.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/intel-mid-touch.c