# \[PATCH 2.6.21-rt7\] PowerPC: kill cpu\_khz reference

- From: Sergei Shtylyov \<hidden\>
- Date: 2007-05-23 20:00:41 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2007/05/959581
- Thread: https://ratatoskr.run/lkml/2007/05/959581/t.md

```text
Remove forgotten reference to 'cpu_khz' which have been removed for PowerPC in
2.6.21-rt7...

Signed-off-by: Sergei Shtylyov <redacted>

---
The irony here is that it was me who sent a patch to add that line. :-)

Index: linux-2.6/arch/powerpc/kernel/time.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/time.c
+++ linux-2.6/arch/powerpc/kernel/time.c
@@ -816,7 +816,6 @@ void __init time_init(void)
 	tb_ticks_per_jiffy = ppc_tb_freq / HZ;
 	tb_ticks_per_sec = ppc_tb_freq;
 	tb_ticks_per_usec = ppc_tb_freq / 1000000;
-	cpu_khz  = ppc_tb_freq / 1000;
 	tb_to_us = mulhwu_scale_factor(ppc_tb_freq, 1000000);
 	calc_cputime_factors();
 
```
