[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210409064920.1096367-1-wanjiabing@vivo.com>
Date: Fri, 9 Apr 2021 14:49:20 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
Subject: [PATCH] arm: mach-s3c: Remove unnecessary break
There is a return above the break.
The break here is unnecessary. Remove it.
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
arch/arm/mach-s3c/mach-rx1950.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-s3c/mach-rx1950.c b/arch/arm/mach-s3c/mach-rx1950.c
index 6e19add158a9..9da94686001a 100644
--- a/arch/arm/mach-s3c/mach-rx1950.c
+++ b/arch/arm/mach-s3c/mach-rx1950.c
@@ -271,7 +271,6 @@ static int rx1950_led_blink_set(struct gpio_desc *desc, int state,
break;
default:
return -EINVAL;
- break;
}
if (delay_on && delay_off && !*delay_on && !*delay_off)
--
2.25.1
Powered by blists - more mailing lists