Skip to contentSkip to conversation

[2.5.70][PATCH][TRIVIAL] cpufreq/longrun.c : eliminate unused variable

PATCH Andy Pfiffer 1 participant 1 message May 29, 2003

lore
Share & tools
lore
#0 lore raw

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1426 -> 1.1427
# arch/i386/kernel/cpu/cpufreq/longrun.c 1.13 -> 1.14
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/29 [email protected] 1.1427
# Remove a compile-time warning.
# --------------------------------------------
#
diff -Nru a/arch/i386/kernel/cpu/cpufreq/longrun.c b/arch/i386/kernel/cpu/cpufreq/longrun.c

arch/i386/kernel/cpu/cpufreq/longrun.c +0 -1
@@ -224,7 +224,6 @@
 static int longrun_cpu_init(struct cpufreq_policy *policy)
 {
 	int                     result = 0;
-	struct cpuinfo_x86 *c = cpu_data;
 
 	/* capability check */
 	if (policy->cpu != 0)