summaryrefslogtreecommitdiffstats
path: root/sound/oss/emu10k1/passthrough.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/emu10k1/passthrough.c')
-rw-r--r--sound/oss/emu10k1/passthrough.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/oss/emu10k1/passthrough.c b/sound/oss/emu10k1/passthrough.c
index 4094be55f3b..4e3baca7d41 100644
--- a/sound/oss/emu10k1/passthrough.c
+++ b/sound/oss/emu10k1/passthrough.c
@@ -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);
}
}