diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-08-11 14:28:20 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 14:19:13 +0300 |
commit | 27b15e31dbc5f4d7fc93e6acaa898cbfd1cf74ea (patch) | |
tree | 4bf5ed57d23f3df7c1598a632ba35ec6f7030091 | |
parent | 7f23a93661eb5caa373f75a145cec14331a8caaa (diff) | |
download | linux-27b15e31dbc5f4d7fc93e6acaa898cbfd1cf74ea.tar.xz |
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>
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 3ee961529b5b..7cc8f73a3fe8 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -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; } |