From: Markus Elfring Date: Mon, 22 Jan 2018 18:55:30 +0000 (-0800) Subject: Input: auo-pixcir-ts - delete an unnecessary return statement X-Git-Tag: v5.15~74^2~280^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cdc8749613de4e52f14cdb43f686d59173ed24e;p=platform%2Fkernel%2Flinux-starfive.git Input: auo-pixcir-ts - delete an unnecessary return statement The script "checkpatch.pl" pointed information out like the following: WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring Reviewed-by: Heiko Stuebner Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index 398e27c..df8ca85 100644 --- a/drivers/input/touchscreen/auo-pixcir-ts.c +++ b/drivers/input/touchscreen/auo-pixcir-ts.c @@ -408,8 +408,6 @@ static void auo_pixcir_input_close(struct input_dev *dev) struct auo_pixcir_ts *ts = input_get_drvdata(dev); auo_pixcir_stop(ts); - - return; } static int __maybe_unused auo_pixcir_suspend(struct device *dev)