Searched hist:a47fcbc2 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | zforce_ts.c | a47fcbc2 Fri Oct 02 13:15:08 CDT 2015 Javier Martinez Canillas <javier@osg.samsung.com> Input: zforce - simplify function return logic
The invoked function already returns zero on success or a negative errno code so there is no need to open code the logic in the caller.
This also fixes the following make coccicheck warning:
end returns can be simplified and declaration on line 602 can be dropped
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: Heiko Stuebner <heiko.stuebner@bq.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> a47fcbc2 Fri Oct 02 13:15:08 CDT 2015 Javier Martinez Canillas <javier@osg.samsung.com> Input: zforce - simplify function return logic The invoked function already returns zero on success or a negative errno code so there is no need to open code the logic in the caller. This also fixes the following make coccicheck warning: end returns can be simplified and declaration on line 602 can be dropped Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: Heiko Stuebner <heiko.stuebner@bq.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|