diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2017-01-03 06:45:59 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2017-01-03 06:45:59 +0000 |
commit | 0bc1bb936f026ca5933d0e575976d463f3d32920 (patch) | |
tree | 7804d1ff10c73207497aa15cd8a203f8b621f38f /sys | |
parent | d4a4219c9de2bd4400089d8ae229cb9faba3ee5e (diff) |
No need to set use_maxpkt twice. From Michael W. Bombardieri. Thanks.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/uaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c index 4469eb5f7a6..5c4bb8cbe8c 100644 --- a/sys/dev/usb/uaudio.c +++ b/sys/dev/usb/uaudio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uaudio.c,v 1.121 2016/12/12 06:51:09 ratchov Exp $ */ +/* $OpenBSD: uaudio.c,v 1.122 2017/01/03 06:45:58 ratchov Exp $ */ /* $NetBSD: uaudio.c,v 1.90 2004/10/29 17:12:53 kent Exp $ */ /* @@ -3013,7 +3013,7 @@ uaudio_chan_init(struct chan *ch, int mode, int altidx, __func__, altidx)); use_maxpkt = 1; } - if (mode == AUMODE_RECORD) { + else if (mode == AUMODE_RECORD) { DPRINTF(("%s: using maxpktsize packets for record channel\n", __func__)); use_maxpkt = 1; |