]> 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)
commitaf567424cfc15164e13cfc6c7c189bd8c6281ced
tree13e85bac69bd17c6e222b623f6fada5088afdc59
parentf5dfd87fb2e646293a90618c359e344cb9e17fcb
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