Commit 47bd922f authored by Rajavardhan Gundi's avatar Rajavardhan Gundi Committed by Anas Nashif
Browse files

xtensa: intel_s1000: Remove redundant call to soc_get_ref_clk_freq



Call to soc_get_ref_clk_freq function is redundant in soc.c as it
simply returns a global static variable. Hence removed that call.

Signed-off-by: default avatarRajavardhan Gundi <rajavardhan.gundi@intel.com>
parent 6bcb9c6a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -238,7 +238,6 @@ static int soc_init(struct device *dev)
{
	soc_read_bootstraps();

	ref_clk_freq = soc_get_ref_clk_freq();
	LOG_INF("Reference clock frequency: %u Hz", ref_clk_freq);

	soc_set_resource_ownership();