Commit 04173ecb authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] fix compile warning in ppc64 pmac_feature.c

dump_HT_speeds is only used by #if 0'ed code so if 0 it as well.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6264daec
...@@ -611,7 +611,7 @@ int __init pmac_feature_late_init(void) ...@@ -611,7 +611,7 @@ int __init pmac_feature_late_init(void)
device_initcall(pmac_feature_late_init); device_initcall(pmac_feature_late_init);
#if 0
static void dump_HT_speeds(char *name, u32 cfg, u32 frq) 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 }; 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) ...@@ -625,6 +625,7 @@ static void dump_HT_speeds(char *name, u32 cfg, u32 frq)
name, freqs[freq], name, freqs[freq],
bits[(cfg >> 28) & 0x7], bits[(cfg >> 24) & 0x7]); bits[(cfg >> 28) & 0x7], bits[(cfg >> 24) & 0x7]);
} }
#endif
void __init pmac_check_ht_link(void) void __init pmac_check_ht_link(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment