Skip to contentSkip to conversation

2.6 ISDN Eicon driver: vfree()

PATCH New Armin Schindler 1 participant 1 message Jan 31, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 2.6 ISDN Eicon driver: vfree()

Removed check for NULL pointer before doing vfree(), it's done in vfree().

drivers/isdn/hardware/eicon/platform.h +2 -4
diff -Nur linux.orig/drivers/isdn/hardware/eicon/platform.h linux/drivers/isdn/hardware/eicon/platform.h
@@ -1,4 +1,4 @@
-/* $Id: platform.h,v 1.37.4.2 2004/08/28 20:03:53 armin Exp $
+/* $Id: platform.h,v 1.37.4.6 2005/01/31 12:22:20 armin Exp $
  *
  * platform.h
  * 
@@ -195,9 +195,7 @@
 }
 static __inline__ void  diva_os_free   (unsigned long flags, void* ptr)
 {
-	if (ptr) {
-		vfree(ptr);
-	}
+	vfree(ptr);
 }
 
 /*