[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1439292502-22912-2-git-send-email-jy0922.shim@samsung.com>
Date: Tue, 11 Aug 2015 20:28:20 +0900
From: Joonyoung Shim <jy0922.shim@...sung.com>
To: rtc-linux@...glegroups.com
Cc: linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
a.zummo@...ertech.it, alexandre.belloni@...e-electrons.com,
cw00.choi@...sung.com, k.kozlowski@...sung.com,
jy0922.shim@...sung.com
Subject: [PATCH 2/4] 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@...sung.com>
---
drivers/rtc/rtc-s3c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index d1866a4..44b2921 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -413,7 +413,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;
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists