From: Jesper Juhl vfree() does it's own NULL checking, no need for explicit check before calling it. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton --- sound/oss/msnd.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -puN sound/oss/msnd.c~vfree-does-its-own-null-check-no-need-to-be-explicit-in-oss-msndc sound/oss/msnd.c --- 25/sound/oss/msnd.c~vfree-does-its-own-null-check-no-need-to-be-explicit-in-oss-msndc Fri Feb 24 15:10:41 2006 +++ 25-akpm/sound/oss/msnd.c Fri Feb 24 15:10:41 2006 @@ -95,10 +95,8 @@ void msnd_fifo_init(msnd_fifo *f) void msnd_fifo_free(msnd_fifo *f) { - if (f->data) { - vfree(f->data); - f->data = NULL; - } + vfree(f->data); + f->data = NULL; } int msnd_fifo_alloc(msnd_fifo *f, size_t n) _