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

From: Armin Schindler
Date: Mon Jan 31 2005 - 08:09:42 EST


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

Signed-off-by: Armin Schindler <armin@xxxxxxxxxx>


diff -Nur linux.orig/drivers/isdn/hardware/eicon/platform.h linux/drivers/isdn/hardware/eicon/platform.h
--- linux.orig/drivers/isdn/hardware/eicon/platform.h 2005-01-31 12:35:17.644106966 +0100
+++ linux/drivers/isdn/hardware/eicon/platform.h 2005-01-31 13:26:14.640422282 +0100
@@ -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);
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/