]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyapa - do not set otherwise unused variable
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 15 Apr 2015 00:46:43 +0000 (17:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 May 2015 22:59:23 +0000 (15:59 -0700)
commit7a04c1312b151b9e201ea231912fcd7ad30fa6eb
tree13e85bac69bd17c6e222b623f6fada5088afdc59
parent47c75669d8ff2b9e0c51179039c1ecf05174fb21
Input: cyapa - do not set otherwise unused variable

As the name suggests, always_unused argument in cyapa_gen3_set_power_mode()
is never used, so there is no reason for setting it to 0.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa_gen3.c