diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-06-17 11:29:43 +0300 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-07-08 01:11:37 -0700 |
commit | e504c4b6076d9ec1caccaac65803fe3fc29afec8 (patch) | |
tree | 9a068eafb50e22b431cdc2d02590c7a92ae36d70 /arch/xtensa/variants | |
parent | ed9dfed62c6c057c1c51295d4373ae55c9284a10 (diff) |
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>
Diffstat (limited to 'arch/xtensa/variants')
-rw-r--r-- | arch/xtensa/variants/s6000/delay.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/variants/s6000/delay.c b/arch/xtensa/variants/s6000/delay.c index 54b2b573f166..baefd3a3c2aa 100644 --- a/arch/xtensa/variants/s6000/delay.c +++ b/arch/xtensa/variants/s6000/delay.c @@ -22,6 +22,5 @@ void platform_calibrate_ccount(void) a = b; } while (--i >= 0); b -= a; - nsec_per_ccount = (LOOPS * 10000) / b; - ccount_per_jiffy = b * (100000UL / (LOOPS * HZ)); + ccount_freq = b * (100000UL / LOOPS); } |