rtc: s3c: remove unnecessary NULL assignment
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 11 Aug 2015 10:29:11 +0000 (19:29 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:50:30 +0000 (13:50 +0900)
It's unnecessary the code that assigns info->rtc_clk to NULL in
s3c_rtc_remove.

Change-Id: I6a735e4fc010a208068305ee8ccd9c5f0cdaa6ad
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/rtc/rtc-s3c.c

index 3a0d04c..f8b78b6 100644 (file)
@@ -430,7 +430,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;
 }