xtensa: cleanup ccount frequency tracking
Remove unused nsec_per_ccount, and rename ccount_per_jiffy to ccount_preq. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:

committed by
Chris Zankel

parent
ed9dfed62c
commit
e504c4b607
@@ -179,8 +179,7 @@ void __init platform_calibrate_ccount(void)
|
||||
if (!clk_freq)
|
||||
clk_freq = *(long *)XTFPGA_CLKFRQ_VADDR;
|
||||
|
||||
ccount_per_jiffy = clk_freq / HZ;
|
||||
nsec_per_ccount = 1000000000UL / clk_freq;
|
||||
ccount_freq = clk_freq;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user