summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-06-23 04:58:01 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-06-23 04:58:01 +0000
commit4ccdeae24535923849e190d72b7a6287e907cdce (patch)
tree010ddb21e49ff2092d47c3ce75c8257aad3aa817 /sys/dev
parent788529a4a224f51626b98288c3dd81f180fc5f22 (diff)
Don't bzero() the USB buffer before every xfer. This was just for debug
purposes.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uvideo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index 54aaf3c01e4..7449eb25e8c 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.40 2008/06/22 20:58:17 mglocker Exp $ */
+/* $OpenBSD: uvideo.c,v 1.41 2008/06/23 04:58:00 mglocker Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -1109,9 +1109,6 @@ uvideo_vs_start(struct uvideo_softc *sc)
for (i = 0; i < sc->sc_nframes; i++)
sc->sc_vs_curr->size[i] = sc->sc_vs_curr->max_packet_size;
- bzero(sc->sc_vs_curr->buf,
- sc->sc_vs_curr->max_packet_size * sc->sc_nframes);
-
usbd_setup_isoc_xfer(
sc->sc_vs_curr->xfer,
sc->sc_vs_curr->pipeh,