Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751484AbWETUvY (ORCPT ); Sat, 20 May 2006 16:51:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751488AbWETUvX (ORCPT ); Sat, 20 May 2006 16:51:23 -0400 Received: from imf18aec.mail.bellsouth.net ([205.152.59.66]:45711 "EHLO imf18aec.mail.bellsouth.net") by vger.kernel.org with ESMTP id S1751484AbWETUvX (ORCPT ); Sat, 20 May 2006 16:51:23 -0400 Date: Sat, 20 May 2006 16:50:59 -0400 (EDT) From: Ameer Armaly X-X-Sender: ameer@sg1 To: linux-kernel@vger.kernel.org Subject: [patch] intialize cpu_freq in arch/i386/kernel/cpu/transmeta.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1337 Lines: 32 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 Sat, 20 May 2006 16:43:05 -0400 committer Ameer Armaly 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/