From patchwork Sun Jan 21 21:16:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10177121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BAA80601E7 for ; Sun, 21 Jan 2018 21:16:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF2FC26E5D for ; Sun, 21 Jan 2018 21:16:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3CA626E74; Sun, 21 Jan 2018 21:16:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A02F26E5D for ; Sun, 21 Jan 2018 21:16:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751211AbeAUVQY (ORCPT ); Sun, 21 Jan 2018 16:16:24 -0500 Received: from mout.web.de ([217.72.192.78]:53284 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbeAUVQX (ORCPT ); Sun, 21 Jan 2018 16:16:23 -0500 Received: from [192.168.1.3] ([77.181.34.161]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LvBMs-1emxTh30Og-010OMd; Sun, 21 Jan 2018 22:16:15 +0100 Subject: [PATCH 2/2] Input: auo-pixcir-ts: Delete an unnecessary return statement in auo_pixcir_input_close() From: SF Markus Elfring To: linux-input@vger.kernel.org, Dmitry Torokhov , =?UTF-8?Q?Heiko_St=c3=bcbner?= Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <285e8d30-2d7e-f035-f4a4-679b3d79f57b@users.sourceforge.net> Date: Sun, 21 Jan 2018 22:16:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:gj6fk0v5aHOns9OCyWmlf2IkN2bgn5eQ0JOsgyGpdAl6zJqJX7H pp9Vt69G5C494jIRRYkgCDtogye/g3Ay1SPXiINRKC1N0iBR5j6lormVixY5bD7Q44aURtX NVnZpJOWWFCtap2y00Ps3P2KD2GUjVEQbK+lMVzSKOXazpQDhs3cMFDUd5aO6ORvZ+AEXQp 8hlDb24fHiTRyE6vUISvg== X-UI-Out-Filterresults: notjunk:1; V01:K0:0TJ/Lpe/VXo=:PqKeCVGzjGppC9OkE7tKJz QvzPlWqgiWV6fiUvI5WklzDqkeCsk4Y/M9+8Bdf7OpCSAlpQaC8OsVm+IyImSCIwh48TmTGw2 LjjM8EKgohtxwkjTh21KOoVSb32gm72DDuqWvvdyvf21QQFWWQsksf9N86SoGi4jejiBr2B/p OCJLyaFy7AoZk3jLiNXsYhpa3i9nwPX3FhNbIhankFyXcm9ZY00SoREiVDAOYp1uq9WxlG0k1 zi6QCV5ci5DQmNYjpsMoob4Nz9y08gYOHAGLgNzm6yxoSdUh3DK20HRSc4S4JHtGKdK+RtogS SO1u+7c3Jh+QBZG3rJRHYAOaJ/uH8MdgKN6rl8B+Ex8MDe5kbDfYQy4E2ivfznTJBJAAvkgFf hqvis1J/gIqlL+9rLGVpLe03axTTC0vuOkD+O2qmlx6SuafzSl4CPem0InSsxmzaWUsCFX6E/ wqsijSNekPxz6DrgYJv1K4KLczs1PyxI3U3+fJ1GyawOZ33LdyQjZJtGFWE2fmM8y8enLwuKr ADyO0fvr67E/19tbVAN+HXlOiWRNv2sTANGVjUO9GxBRgglfPSs+9kzeTEdPGpL5YPPwb+IFl fdq82ySykqHWehDxpGA3Evn/rffCGk3DglIWpd9xuVjIIluf0i8197XBP9wl5kfsNDJkkUrgF VYg5VQoLGhSEEFaavGMILpEr00FhHd+ba+rH/1Ee3vXbx+0ACBtz2wE6tbUIBLWYSN9Thmv8G UaZ188VzosSuwiy1zghDvCYq7krc/xyiqoRixCm2TMs+M3pgHSdBXmUNxf8psgaxwF7CMpcQH QQnh3AaKUbBljlmyQ8RW8eKjhv7mXgK8wchSKlSRHcJZhfYAa8= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sun, 21 Jan 2018 22:06:28 +0100 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 --- drivers/input/touchscreen/auo-pixcir-ts.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index 398e27c48a51..df8ca856393b 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)