vfree() checks for NULL, no need to do it explicitly
PATCH 1/1 vfree() checks for NULL, no need to do it explicitly
vfree() checks for NULL, no need to do it explicitly.
Signed-off-by Jesper Juhl <[email protected]
---
sound/oss/maestro3.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/oss/maestro3.c +2 -2
@@ -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