From patchwork Mon Dec 25 13:07:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10132555 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 A46D260388 for ; Mon, 25 Dec 2017 13:08:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FE7E2E8CD for ; Mon, 25 Dec 2017 13:08:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 843FB2E8D3; Mon, 25 Dec 2017 13:08: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 140552E8D0 for ; Mon, 25 Dec 2017 13:08:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752532AbdLYNIK (ORCPT ); Mon, 25 Dec 2017 08:08:10 -0500 Received: from mout.web.de ([212.227.17.12]:60812 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752621AbdLYNIG (ORCPT ); Mon, 25 Dec 2017 08:08:06 -0500 Received: from [192.168.1.3] ([77.182.230.95]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MgfBj-1eI6dO0XFn-00O1ii; Mon, 25 Dec 2017 14:07:49 +0100 Subject: [PATCH 2/2] pinctrl: single: Delete an unnecessary return statement in pcs_irq_chain_handler() From: SF Markus Elfring To: linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Haojian Zhuang , Linus Walleij , Tony Lindgren Cc: LKML , kernel-janitors@vger.kernel.org References: <6bc679d1-c1ee-52fe-9ece-b28095f653ec@users.sourceforge.net> Message-ID: Date: Mon, 25 Dec 2017 14:07:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <6bc679d1-c1ee-52fe-9ece-b28095f653ec@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:cqhFLcGw5Ii5pxtuSYSg77hJNRfecubUdVLqCHrsP/AKhpDACaE b4980N458TH6fbXi1Y4qX9pugThqkDXII0EirR6iiGvG0y5Nrui7gESfWGZN+QOaq7DNLFy ukV69W996jlk9RGOUttqeTG3xYZSEs7LZxYDkRSWlY3+9C+Oe5H+l+jqebGR/T6QezWsXor LoJ6xRGROK/iWrkdyC5KA== X-UI-Out-Filterresults: notjunk:1; V01:K0:3nc+Po5+tZo=:ab8bAVEbbHLGNjqkM2DBgQ NFotFDQEcZtx8UHC4XrYfJdNnnHe3AsbUOPI1iX0nJb7+oG5WayAu4dWxeLneQYd395zPPFeZ P/QbCgskwf4MrQ4QHB3b2lxPYNuMYqOjdGsIqDD+EyoICPRe2GhIJoHWWDEvRMnK62tvN4itA bi4x/8MkL3ZiP2CLI1z5SEtYhP9aaZ/DKXf1MttE8UfMWhGeSYdp+Li/XWovDuuaqDJt4e9tK 8214K/2xk0wbNM2ZQFhmQU/TbgHGByT118xJ48HE4T/IcIP5woBFYLltiry4ig2QlHZjN6MCd ZFSAjRFgULnKHEG2WFbGu4JBeLU9lvHfYkSYhbAg3HoSfgUd4cc6LrSilQxtm+01fHK3bhjqw 95o8Y8O/F4W5rYAJ7kzc4ClqhoEmAyB0S0Nb6oPhWagIUnwHr4uqQlnztnHxM6hqosUJJH4Sg jqw1F5DnTWnGBw6/w3xstDYPmIJgLqt1sQg6PQhCwbQERyaiN+pbGIABKlsB2+ZDio9ojCeZa 2hoapDgYNfcrQwHX6cQpiNrks+7IxBTyqd5b23iual8UrQSkn0oUroAw0Od5yDJYBdHefxHPT Om40Du0sYhkzb9yBaUes7cq/aonp0BbtxkzxnA+EBRQJSrlyCjktgS6m/7cTQPm/fyS+OpieF fMKfT0fbYUGKmCXnzY4KP1HC3lDbmU+xxmseEUW/zsUUm6bFW4G/uOax/ywBSvDDFCcq4+gDg 1WdC40PmsZK4ZS/2dgMl3nzbFxb77XYggdYaHVTiQcEc9M7WrKmXNqvhk/M5x2hvJF9UBrkus DbVcYyjNKMlYS8KfZo488mhdDO02tDspczt9/ELf9/WoV3U4w4= Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 25 Dec 2017 11:35:44 +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/pinctrl/pinctrl-single.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index f5ff2111481d..16689195e481 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1459,8 +1459,6 @@ static void pcs_irq_chain_handler(struct irq_desc *desc) pcs_irq_handle(pcs_soc); /* REVISIT: export and add handle_bad_irq(irq, desc)? */ chained_irq_exit(chip, desc); - - return; } static int pcs_irqdomain_map(struct irq_domain *d, unsigned int irq,