]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/synth/util_mem.c
[NETFILTER]: nfnetlink_{queue,log}: return proper error codes in instance_create
[linux-2.6-omap-h63xx.git] / sound / synth / util_mem.c
index 1d9b11f345f891525c00040202fc1adceb534b15..6fc3d2b2519f935c76f1156962d4bae4cd0a6750 100644 (file)
@@ -116,7 +116,7 @@ __snd_util_memblk_new(struct snd_util_memhdr *hdr, unsigned int units,
        if (blk == NULL)
                return NULL;
 
-       if (! prev || prev == &hdr->block)
+       if (prev == &hdr->block)
                blk->offset = 0;
        else {
                struct snd_util_memblk *p = get_memblk(prev);