mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-24 10:28:57 +00:00
rtc: s3c: remove unnecessary NULL assignment
It's unnecessary the code that assigns info->rtc_clk to NULL in s3c_rtc_remove. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
7f23a93661
commit
27b15e31db
@ -425,7 +425,6 @@ static int s3c_rtc_remove(struct platform_device *pdev)
|
||||
if (info->data->needs_src_clk)
|
||||
clk_unprepare(info->rtc_src_clk);
|
||||
clk_unprepare(info->rtc_clk);
|
||||
info->rtc_clk = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user