Skip to content

Commit 27b15e3

Browse files
Joonyoung Shimalexandrebelloni
authored andcommitted
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 7f23a93 commit 27b15e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/rtc/rtc-s3c.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ static int s3c_rtc_remove(struct platform_device *pdev)
425425
if (info->data->needs_src_clk)
426426
clk_unprepare(info->rtc_src_clk);
427427
clk_unprepare(info->rtc_clk);
428-
info->rtc_clk = NULL;
429428

430429
return 0;
431430
}

0 commit comments

Comments
 (0)