]> err.no Git - linux-2.6/blobdiff - sound/oss/emu10k1/passthrough.c
Automatic merge with /usr/src/ntfs-2.6.git.
[linux-2.6] / sound / oss / emu10k1 / passthrough.c
index 4094be55f3be335338fd120224a0fba22c6ce711..4e3baca7d41f3d2856accd469e0292d749a07e47 100644 (file)
@@ -213,8 +213,7 @@ void emu10k1_pt_stop(struct emu10k1_card *card)
                                sblive_writeptr(card, SPCS0 + i, 0, pt->old_spcs[i]);
                }
                pt->state = PT_STATE_INACTIVE;
-               if(pt->buf)
-                       kfree(pt->buf);
+               kfree(pt->buf);
        }
 }