]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit238af0d044d97e6675295f5d1ac151180cc5cc19
treec7755e3f6a0d8bd58845246b177f9392fabcfd72
parent7ad622bd01273c40ada5866afff483f177112e51
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