X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Foss%2Fmsnd.c;h=5dbfc0f9c3c7bf32abb87475283ea4c4f21c65b9;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=4f1ff1bccdcee0a6106ffbd16b206071564c22d6;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/sound/oss/msnd.c b/sound/oss/msnd.c index 4f1ff1bcc..5dbfc0f9c 100644 --- a/sound/oss/msnd.c +++ b/sound/oss/msnd.c @@ -24,7 +24,6 @@ * ********************************************************************/ -#include #include #include #include @@ -96,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)