Input: auo-pixcir-ts - delete an unnecessary return statement
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 22 Jan 2018 18:55:30 +0000 (10:55 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Jan 2018 00:28:59 +0000 (16:28 -0800)
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 <elfring@users.sourceforge.net>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/auo-pixcir-ts.c

index 398e27c48a514f03232a0db69659cac8fb47f0d5..df8ca856393b60ac56ec60e556c3284d4dcd669a 100644 (file)
@@ -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)