Initializing cpu_freq to 0 in arch/i386/kernel/cpu/transmeta.c gets rid of
an unnecessary warning.
Initialized cpu_freq in arch/i386/kernel/cpu/transmeta.c to suppress warning.
---
commit 53121ea5e13e075e5239734bb26c3cae7ee84ee0
tree 0eca3170380c610969118c6fa7700558b7232e5d
parent 6566a3f8f3281497a81815dfe2b64eb54dafe05d
author Ameer Armaly <[email protected]> Sat, 20 May 2006 16:43:05 -0400
committer Ameer Armaly <ameer@sg1.(none)> Sat, 20 May 2006 16:43:05 -0400
arch/i386/kernel/cpu/transmeta.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/i386/kernel/cpu/transmeta.c b/arch/i386/kernel/cpu/transmeta.c
index 7214c9b..0737890 100644
--- a/arch/i386/kernel/cpu/transmeta.c
+++ b/arch/i386/kernel/cpu/transmeta.c
@@ -9,7 +9,7 @@ static void __init init_transmeta(struct
{
unsigned int cap_mask, uk, max, dummy;
unsigned int cms_rev1, cms_rev2;
- unsigned int cpu_rev, cpu_freq, cpu_flags, new_cpu_rev;
+ unsigned int cpu_rev, cpu_freq = 0, cpu_flags, new_cpu_rev;
char cpu_info[65];
get_model_name(c); /* Same as AMD/Cyrix */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]