Explorar o código

[CPUFREQ] Remove extra arg from dprintk in cpufreq/speedstep-smi.c

Minor fallout from my upcoming __attribute__((format(printf,x,y)))
patches. The variable 'result' is untouched, so this patch just removes
it.

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Mika Kukkonen %!s(int64=20) %!d(string=hai) anos
pai
achega
ce38b51edf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/i386/kernel/cpu/cpufreq/speedstep-smi.c

+ 1 - 1
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c

@@ -99,7 +99,7 @@ static int speedstep_smi_get_freqs (unsigned int *low, unsigned int *high)
 	u32 function = GET_SPEEDSTEP_FREQS;
 
 	if (!(ist_info.event & 0xFFFF)) {
-		dprintk("bug #1422 -- can't read freqs from BIOS\n", result);
+		dprintk("bug #1422 -- can't read freqs from BIOS\n");
 		return -ENODEV;
 	}