diff options
author | netchild <netchild@FreeBSD.org> | 2006-10-08 17:13:54 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-10-08 17:13:54 +0000 |
commit | d3f48a8444029c6e96b2ad642d6448b598cf2b64 (patch) | |
tree | 8cd5c4c9116ebdd1f86000543b4907ca441eb823 /sys | |
parent | ae7b29d2e1bb23beefdd8c22b97a79e29b86b013 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/sound/pcm/dsp.c | 2 |
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); |