From: Markus Elfring Date: Thu, 12 Jan 2017 15:30:24 +0000 (+0100) Subject: pinctrl: mvebu: Delete an unnecessary return statement in mvebu_pinconf_group_dbg_show() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=39c7c5abe8cfd6ff3da5df1e78b3e6833f045af5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pinctrl: mvebu: Delete an unnecessary return statement in mvebu_pinconf_group_dbg_show() 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 Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/mvebu/pinctrl-mvebu.c b/drivers/pinctrl/mvebu/pinctrl-mvebu.c index 0618311e75dc..5b49bcda5e79 100644 --- a/drivers/pinctrl/mvebu/pinctrl-mvebu.c +++ b/drivers/pinctrl/mvebu/pinctrl-mvebu.c @@ -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 = {