Received: by 10.223.176.46 with SMTP id f43csp1167207wra; Sat, 20 Jan 2018 12:21:58 -0800 (PST) X-Google-Smtp-Source: AH8x226rimw4FK05SP0fZ7pOVM6Ipl3G36/BTy0mHm46Um4aAwSGvKzvlzGpYQ5prCkDGRtLhiuo X-Received: by 10.98.228.5 with SMTP id r5mr3419926pfh.193.1516479718812; Sat, 20 Jan 2018 12:21:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516479718; cv=none; d=google.com; s=arc-20160816; b=O3V4qVqhNxPFFj/cvEaGKAD3RyWyYQ1vyKyf8zfBF16p/ZNRhniCVK24+ICPZSBui/ g/oDJxore8YwhmXVMJ83BbR3nSZ87MfUjTh3AdjFuyFEsK4tKzgs3rRY7TydvpgtYH3E dNatalVAN8g8HCpTAmz8jgHtUFkTNiqnroMLgI9kdjdJ02iMPe9ekl9oY6zeuHnitZqi 79ihnInMFxgptV9krVPhQa0ZIIyHfUtJ3YDLbpgWoNcx9n8P8IF1QSbca4s56zwmNV4T 8ogB0bK2EwCedhRyvtt+vbyObU1DorRP/CZDBNPsZm+y4qdRlei//AGLDRIOqCZjj1VG OnFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=A4lh/9KKh0mu55Q24vInhVskAcSYZPCnJm6tO3/qTYY=; b=evw6raa9Z3iUNn6lQo0ICmT3NgadZoJQSSRhNRw6Ter22b8e9hDB+r1VCKW9mMpS9u oxwOrcO11fcIWAZUCQs1dZbnLgpJXN6PrIqcVmduvEC2coYYlOkafz5I/vCKWxe4D9q0 HLfu0+Ge9UQITRK9CXPo16zdIvSNDsXnGRbCMotA66lBJGH8sCJQMBoBw8aj0i6v6r8+ 50EwebyfDGz3T/ePY5ytSYZN/H0Y6Gg882oMusfTcR+IwtpDCbJPVspjrFg3fK1irC/9 BIJzlBcF7MlLvrzVI5ic7Ypx6kC+R/pJYDOkaHru36BM6CUAVdJWDfuvfQ6x698K1+Wm d+QA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o17si10853894pge.771.2018.01.20.12.21.44; Sat, 20 Jan 2018 12:21:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756695AbeATUUw (ORCPT + 99 others); Sat, 20 Jan 2018 15:20:52 -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-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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) -- 2.15.1