[PATCH] no need to check vfree arg for null in oss/sequencer

There's no need to check pointers for NULL before handing them to vfree().

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Jesper Juhl 2006-03-28 01:56:50 -08:00 committed by Linus Torvalds
parent 07e0e93d9a
commit 5a83fdddb8

View File

@ -1671,14 +1671,7 @@ void sequencer_init(void)
void sequencer_unload(void)
{
if(queue)
{
vfree(queue);
queue=NULL;
}
if(iqueue)
{
vfree(iqueue);
iqueue=NULL;
}
vfree(queue);
vfree(iqueue);
queue = iqueue = NULL;
}