Skip to content

Commit

Permalink
rtc: s3c: remove unnecessary NULL assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joonyoung Shim authored and Alexandre Belloni committed Sep 5, 2015
1 parent 7f23a93 commit 27b15e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/rtc/rtc-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 27b15e3

Please sign in to comment.