diff mbox series

pinctrl: mediatek: common-v1: fix semicolon.cocci warnings

Message ID 20220322130308.GA21877@65fc916127a5 (mailing list archive)
State New, archived
Headers show
Series pinctrl: mediatek: common-v1: fix semicolon.cocci warnings | expand

Commit Message

kernel test robot March 22, 2022, 1:03 p.m. UTC
From: kernel test robot <lkp@intel.com>

drivers/pinctrl/mediatek/pinctrl-mtk-common.c:171:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 156f721704b5 ("pinctrl: mediatek: common-v1: Commonize spec_ies_smt_set callback")
CC: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git for-next
head:   4d3a82e4ec28e7956db55487eeb480407a002c37
commit: 156f721704b5c9e8fae02270f606f09d710ff27e [76/78] pinctrl: mediatek: common-v1: Commonize spec_ies_smt_set callback
:::::: branch date: 6 days ago
:::::: commit date: 6 days ago

 drivers/pinctrl/mediatek/pinctrl-mtk-common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij March 27, 2022, 12:01 p.m. UTC | #1
On Tue, Mar 22, 2022 at 2:03 PM kernel test robot <lkp@intel.com> wrote:

> From: kernel test robot <lkp@intel.com>
>
> drivers/pinctrl/mediatek/pinctrl-mtk-common.c:171:2-3: Unneeded semicolon
>
>
>  Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> Fixes: 156f721704b5 ("pinctrl: mediatek: common-v1: Commonize spec_ies_smt_set callback")
> CC: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: kernel test robot <lkp@intel.com>

Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

--- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
@@ -168,7 +168,7 @@  int mtk_pconf_spec_set_ies_smt_range(str
 		break;
 	default:
 		break;
-	};
+	}
 
 	if (!ies_smt_infos)
 		return -EINVAL;