pinctrl: mvebu: Delete an unnecessary return statement in mvebu_pinconf_group_dbg_show()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 12 Jan 2017 15:30:24 +0000 (16:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Jan 2017 14:55:14 +0000 (15:55 +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/mvebu/pinctrl-mvebu.c

index 0618311e75dc771a874a7bf7f8e7db0b9e01d03c..5b49bcda5e799ee0feb255404401b021aa0cba59 100644 (file)
@@ -224,7 +224,6 @@ static void mvebu_pinconf_group_dbg_show(struct pinctrl_dev *pctldev,
                }
                seq_printf(s, " ]");
        }
-       return;
 }
 
 static const struct pinconf_ops mvebu_pinconf_ops = {