* [PATCH 2/3] 2.6 ISDN Eicon driver: vfree()
@ 2005-01-31 13:03 Armin Schindler
0 siblings, 0 replies; only message in thread
From: Armin Schindler @ 2005-01-31 13:03 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel, developers
Removed check for NULL pointer before doing vfree(), it's done in
vfree().
Signed-off-by: Armin Schindler <armin@melware.de>
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);
}
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-31 13:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-31 13:03 [PATCH 2/3] 2.6 ISDN Eicon driver: vfree() Armin Schindler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome