]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix compile warning in ppc64 pmac_feature.c
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Sep 2004 03:29:16 +0000 (20:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:29:16 +0000 (20:29 -0700)
dump_HT_speeds is only used by #if 0'ed code so if 0 it as well.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pmac_feature.c

index c059a7608db0e5591ad752eace1a3d350a4921d1..b4b09a71d9dab56d58d8191584317e19c8089b6a 100644 (file)
@@ -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, u32 cfg, u32 frq)
                       name, freqs[freq],
                       bits[(cfg >> 28) & 0x7], bits[(cfg >> 24) & 0x7]);
 }
+#endif
 
 void __init pmac_check_ht_link(void)
 {