]> git.baikalelectronics.ru Git - kernel.git/commit
Input: kxtj9 - remove unneeded retval variable
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 2 Oct 2015 18:14:26 +0000 (11:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 2 Oct 2015 18:44:17 +0000 (11:44 -0700)
commit54124af9ef81a7990b6f93e45d42c2ddc27e88f5
tree62fe4f516bf6e709d7c1ddd6e60b532c671f3be1
parent2ffdcae6ffaf612a1f6824830e07875dd04661ba
Input: kxtj9 - remove unneeded retval variable

The retval variable isn't needed since isn't used in the function. Remove
the variable and just return 0 instead.

This also fixes the following make coccicheck warning:

drivers/input/misc/kxtj9.c:638:5-11: Unneeded variable: "retval". Return "0" on line 646

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/kxtj9.c