OSDN Git Service

watchdog: s3c2410: Remove superfluous err label
authorSam Protsenko <semen.protsenko@linaro.org>
Sun, 21 Nov 2021 16:56:46 +0000 (18:56 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 28 Dec 2021 12:59:05 +0000 (13:59 +0100)
commit1a47cda07af4d81a49a140b52220ca56cd6e79a6
treec7755e3f6a0d8bd58845246b177f9392fabcfd72
parente249d01b5e8b8263ee2fdb787c954450940a7677
watchdog: s3c2410: Remove superfluous err label

'err' label in probe function is not really need, it just returns.
Remove it and replace all 'goto' statements with actual returns in
place.

No functional change here, just a cleanup patch.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211107202943.8859-12-semen.protsenko@linaro.org
[groeck: Fixed context conflicts]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/s3c2410_wdt.c