Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177936871
D53733.1795599754.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
576 B
Referenced Files
None
Subscribers
None
D53733.1795599754.diff
View Options
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -467,10 +467,6 @@
int prio, ret;
pid_t runpid;
- KASSERT(buf != NULL &&
- (buf->uio_rw == UIO_READ || buf->uio_rw == UIO_WRITE),
- ("%s(): io train wreck!", __func__));
-
d = priv->sc;
if (!DSP_REGISTERED(d))
return (EBADF);
@@ -488,9 +484,6 @@
ch = &priv->wrch;
chn_io = chn_write;
break;
- default:
- panic("invalid/corrupted uio direction: %d", buf->uio_rw);
- break;
}
runpid = buf->uio_td->td_proc->p_pid;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 25, 9:42 AM (23 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41952225
Default Alt Text
D53733.1795599754.diff (576 B)
Attached To
Mode
D53733: sound: Remove unnecessary uio checks in dsp_io_ops()
Attached
Detach File
Event Timeline