pinctrl: single: Delete an unnecessary return statement in pcs_irq_chain_handler()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 25 Dec 2017 10:35:44 +0000 (11:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jan 2018 07:46:51 +0000 (08:46 +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 <elfring@users.sourceforge.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c

index 2b93d8a..bd42313 100644 (file)
@@ -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,