fix warning: unused variable longrun.c

fix warning: unused variable longrun.c

Post by Joe DiMartin » Sat, 07 Jun 2003 00:30:12



simple fix to remove compiler warning

===== arch/i386/kernel/cpu/cpufreq/longrun.c 1.13 vs edited =====
--- 1.13/arch/i386/kernel/cpu/cpufreq/longrun.c Mon Mar 17 05:54:38 2003

 static int longrun_cpu_init(struct cpufreq_policy *policy)
 {
        int                     result = 0;
-       struct cpuinfo_x86 *c = cpu_data;

        /* capability check */
        if (policy->cpu != 0)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

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

# 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
# --------------------------------------------

# Remove a compile-time warning.
# --------------------------------------------
#
diff -Nru a/arch/i386/kernel/cpu/cpufreq/longrun.c
b/arch/i386/kernel/cpu/cpufreq/longrun.c
--- a/arch/i386/kernel/cpu/cpufreq/longrun.c    Thu May 29 09:56:52 2003

 static int longrun_cpu_init(struct cpufreq_policy *policy)
 {
        int                     result = 0;
-       struct cpuinfo_x86 *c = cpu_data;

        /* capability check */
        if (policy->cpu != 0)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Why doesnt Anonymous FTP work from SLS 1.01?

3. fix warning: unused variable powernow-k6.c

4. newbie->Correct termcap entry for HP 550 printer

5. Unused variable warning in ac97_codec.c

6. rate limit with openbsd?

7. GCC: "unused variable" warning not reported

8. how to...lan language laboratory

9. PATCH: split up ide-pci.c:setup_host_channel to silence unused variable warning

10. [8/8] fix unused function warning in drivers/block/floppy.c

11. warning and unused in sctp.h

12. [TRIVIAL] remove agpgart_be.c unused variables

13. remove unused variable in wacom driver