X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=sound%2Foss%2Fmsnd.c;h=5dbfc0f9c3c7bf32abb87475283ea4c4f21c65b9;hb=d42510a0f58c2583c37c8e9b7548e3a68545863a;hp=a7ad2b0a2ac095b768bb6f9ddd7fdf65615b6654;hpb=4ddccb8eb9d1c57c7dd3838d8328690bf1869145;p=linux-2.6-omap-h63xx.git diff --git a/sound/oss/msnd.c b/sound/oss/msnd.c index a7ad2b0a2ac..5dbfc0f9c3c 100644 --- a/sound/oss/msnd.c +++ b/sound/oss/msnd.c @@ -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)