From patchwork Sat Jan 20 20:20:38 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: 10176711 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 70FA86056F for ; Sat, 20 Jan 2018 20:20:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5492B1FE8B for ; Sat, 20 Jan 2018 20:20:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47E001FFE6; Sat, 20 Jan 2018 20:20:52 +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 93F5D1FE8B for ; Sat, 20 Jan 2018 20:20:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756657AbeATUUs (ORCPT ); Sat, 20 Jan 2018 15:20:48 -0500 Received: from mout.web.de ([212.227.17.12]:54483 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756578AbeATUUr (ORCPT ); Sat, 20 Jan 2018 15:20:47 -0500 Received: from [192.168.1.3] ([77.182.145.92]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M0QgT-1exYLq1iCz-00uaXD; Sat, 20 Jan 2018 21:20:39 +0100 Subject: [PATCH 2/2] Input: zforce_ts: Delete an unnecessary return statement in zforce_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: <7d14b5af-bc11-305c-6a90-18e8a3b3196c@users.sourceforge.net> Date: Sat, 20 Jan 2018 21:20:38 +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:YnysndyKI9ZvOxQHXnbGZaSvTwzR69Mk1DZuW6UWXQXmtp/nIi5 vBIMypuFmTIwtqTVtxwgIL0XTal5GSKFqEei/OOocCy4jH4umUN6eOgBPIrZ+k8iyccvEV3 K/7pv/GqFxz9ruOW8aDy5sO9cROiQnjsGuW6S89l4z1Ag0373BwEbIh4PzMvIKFBC37AGLo p/qQIQ63nwLwAHuvimGZg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Om1KE922FNg=:5frCYMTk/mkiWO2ac1852Y qtZAtjT+Mfc4jKqz1D6BjpUmnO8URAe62JNQ/nIaE3hTYDlTa/+/ynELCeRcSnXhRM+Xzip56 f6vjUO6Itw9CFpW3LSsUblP1EJmKD5naUh9Nr/e0i/C/QyGz1bzuNnzC2WWZocBRwNCOc7AVN fOuP32s844hF71lXEc+dkZmTCRrI47svj0Sp1sBfsDMtmCqcNLvlLhK0+R4GFB9YP0VtSvdHc V8OlX/3VDmHehhoeMU59iTvMChX8SfNg+dL3d+2rvEyzei52AltjZNV2olM7d9xJN7q3R3OZ5 ub6I+CwOHcs7KDy+5exnEVqUtU2nDZ1iJQw2qfZiJYIO/yiHycPRhYKrzHx6/fX8wjilfZz5j uhK7BTw5yZyAXoiR6e0slu138Lo29mcL0chlbFReARASWQU9oXA8EywDALl9I/g7eZx3kEWH/ xmJGTV8XT0gG7XFwRFA+2PqbRc6GgfizrRGZOHQKs1tvF8V2kCdq78ciI7KAS9G7Fc5OdPHa/ Mu+mw95qBuRJhha0ktevFZ0LP1AtAp3syO3zMj56p0h3lwuBl8XxkFkvDcBvVkfJVSii5qhey 0YsqEdreCZxSlSgGC01nliAxbTHZdlLxwpjFZlzvbpJIBBWKeTSgZ9xcVYsKzJ+2RGrW8d9XS wzvvHq5/izWIJSq1bFOCnpNdCrlsyajeb+WGgcPvAiXS7K/mgbgDKuMvWddn90aunDk3VIj/x 4Wd4lSQ/DzNv+g38+/2PhONLzCyjajOz9lVXdci1ElMbt9cNj4hf43SwIoCjZsT2PAxjjSipq San8DXJSocs7CHbUoigF0gnFE2OjAO0lrLKrX2HR1IZwGWzrM8= 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: Sat, 20 Jan 2018 20:43:06 +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 Reviewed-by: Heiko Stuebner --- drivers/input/touchscreen/zforce_ts.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 9fb6b3f201f9..e462a152b4e6 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -612,8 +612,6 @@ static void zforce_input_close(struct input_dev *dev) ret = zforce_stop(ts); if (ret) dev_warn(&client->dev, "stopping zforce failed\n"); - - return; } static int __maybe_unused zforce_suspend(struct device *dev)