Skip to contentSkip to conversation

platform.h - vfree() checking cleanups

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

lore
Share & tools
lore
#0 lore raw

PATCH 2/29 platform.h - vfree() checking cleanups

platform.h vfree() checking cleanups.

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

 platform.h |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)
drivers/isdn/hardware/eicon/platform.h +1 -3
@@ -195,9 +195,7 @@
 }
 static __inline__ void  diva_os_free   (unsigned long flags, void* ptr)
 {
-	if (ptr) {
-		vfree(ptr);
-	}
+	vfree(ptr);
 }
 
 /*

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