diff mbox series

[SoC-next] pinctrl: starfive: remove unneeded semicolon

Message ID 20211222073522.123656-1-yang.lee@linux.alibaba.com
State New
Headers show
Series [SoC-next] pinctrl: starfive: remove unneeded semicolon | expand

Commit Message

Yang Li Dec. 22, 2021, 7:35 a.m. UTC
Eliminate the following coccicheck warning:
./drivers/pinctrl/pinctrl-starfive.c:1026:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/pinctrl/pinctrl-starfive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-starfive.c b/drivers/pinctrl/pinctrl-starfive.c
index 0b912152a405..ed6c9b36849b 100644
--- a/drivers/pinctrl/pinctrl-starfive.c
+++ b/drivers/pinctrl/pinctrl-starfive.c
@@ -1026,7 +1026,7 @@  static int starfive_gpio_set_config(struct gpio_chip *gc, unsigned int gpio,
 		break;
 	default:
 		return -ENOTSUPP;
-	};
+	}
 
 	starfive_padctl_rmw(sfp, starfive_gpio_to_pin(sfp, gpio), mask, value);
 	return 0;