* [PATCH][OSS][Maestro3] vfree() checks for NULL, no need to do it explicitly
@ 2006-02-04 20:17 Jesper Juhl
0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2006-02-04 20:17 UTC (permalink / raw)
To: Linux List; +Cc: Zach Brown, Jesper Juhl
vfree() checks for NULL, no need to do it explicitly.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com
---
sound/oss/maestro3.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.16-rc2-git1-orig/sound/oss/maestro3.c 2006-01-03 04:21:10.000000000 +0100
+++ linux-2.6.16-rc2-git1/sound/oss/maestro3.c 2006-02-04 21:14:32.000000000 +0100
@@ -2580,10 +2580,10 @@ static int alloc_dsp_suspendmem(struct m
return 0;
}
+
static void free_dsp_suspendmem(struct m3_card *card)
{
- if(card->suspend_mem)
- vfree(card->suspend_mem);
+ vfree(card->suspend_mem);
}
#else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-04 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-04 20:17 [PATCH][OSS][Maestro3] vfree() checks for NULL, no need to do it explicitly Jesper Juhl
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