Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102924231
D46834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
368 B
Referenced Files
None
Subscribers
None
D46834.diff
View Options
diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c
--- a/sys/dev/sound/pcm/vchan.c
+++ b/sys/dev/sound/pcm/vchan.c
@@ -508,8 +508,7 @@
return (ret);
}
- if (newspd < 1 || newspd < feeder_rate_min ||
- newspd > feeder_rate_max) {
+ if (newspd < feeder_rate_min || newspd > feeder_rate_max) {
PCM_RELEASE_QUICK(d);
return (EINVAL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 7:34 PM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13136522
Default Alt Text
D46834.diff (368 B)
Attached To
Mode
D46834: sound: Remove useless newspd check in sysctl_dev_pcm_vchanrate()
Attached
Detach File
Event Timeline
Log In to Comment