Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27b15e31 authored by Joonyoung Shim's avatar Joonyoung Shim Committed by Alexandre Belloni
Browse files

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: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 7f23a936
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}