Skip to contentSkip to conversation

cpu_buffer.c - vfree() checking

PATCH RESEND Applied [email protected] 1 participant 1 message Jan 4, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 3/29 cpu_buffer.c - vfree() checking

cpu_buffer.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 cpu_buffer.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
drivers/oprofile/cpu_buffer.c +1 -2
@@ -37,8 +37,7 @@
 	int i;
  
 	for_each_online_cpu(i) {
-		if (cpu_buffer[i].buffer)
-			vfree(cpu_buffer[i].buffer);
+		vfree(cpu_buffer[i].buffer);
 	}
 }
  

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors