From: Christoph Hellwig dump_HT_speeds is only used by #if 0'ed code so if 0 it as well. Signed-off-by: Andrew Morton --- 25-akpm/arch/ppc64/kernel/pmac_feature.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN arch/ppc64/kernel/pmac_feature.c~fix-compile-warning-in-ppc64-pmac_featurec arch/ppc64/kernel/pmac_feature.c --- 25/arch/ppc64/kernel/pmac_feature.c~fix-compile-warning-in-ppc64-pmac_featurec Wed Sep 1 14:44:11 2004 +++ 25-akpm/arch/ppc64/kernel/pmac_feature.c Wed Sep 1 14:44:11 2004 @@ -611,7 +611,7 @@ int __init pmac_feature_late_init(void) device_initcall(pmac_feature_late_init); - +#if 0 static void dump_HT_speeds(char *name, u32 cfg, u32 frq) { int freqs[16] = { 200,300,400,500,600,800,1000,0,0,0,0,0,0,0,0,0 }; @@ -625,6 +625,7 @@ static void dump_HT_speeds(char *name, u name, freqs[freq], bits[(cfg >> 28) & 0x7], bits[(cfg >> 24) & 0x7]); } +#endif void __init pmac_check_ht_link(void) { _