summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-10-08 17:13:54 +0000
committernetchild <netchild@FreeBSD.org>2006-10-08 17:13:54 +0000
commitd3f48a8444029c6e96b2ad642d6448b598cf2b64 (patch)
tree8cd5c4c9116ebdd1f86000543b4907ca441eb823 /sys/dev/sound
parentae7b29d2e1bb23beefdd8c22b97a79e29b86b013 (diff)
downloadFreeBSD-src-d3f48a8444029c6e96b2ad642d6448b598cf2b64.zip
FreeBSD-src-d3f48a8444029c6e96b2ad642d6448b598cf2b64.tar.gz
Remove unnecessary test case. (As written, that branch will never
be followed.) Submitted by: ryanb Found with: Coverity Prevent CID: 239860
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/dsp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
index 54231b2..979f0ed 100644
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -1965,8 +1965,6 @@ out:
if (ret != 0) {
if (smrd != NULL)
free(smrd, M_DEVBUF);
- if (smwr != NULL)
- free(smwr, M_DEVBUF);
if ((sg != NULL) && SLIST_EMPTY(&sg->members)) {
sg_ids[2] = sg->id;
SLIST_REMOVE(&snd_pcm_syncgroups, sg, pcmchan_syncgroup, link);
OpenPOWER on IntegriCloud