summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2009-08-24 04:57:48 +0000
committeralfred <alfred@FreeBSD.org>2009-08-24 04:57:48 +0000
commit04c45eb7354f22acfe53106238a0d4268825616f (patch)
tree3989523195048bfeefd7f0f9216524f4b17b2d53 /sys/dev/sound
parent151c80cfa6153c6af729f16971b785c1fb38e302 (diff)
downloadFreeBSD-src-04c45eb7354f22acfe53106238a0d4268825616f.zip
FreeBSD-src-04c45eb7354f22acfe53106238a0d4268825616f.tar.gz
Remove redundant Giant reference. Giant will be dropped
automatically when the mutex argument is NULL. Reported by: Various people Submitted by: hps
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/usb/uaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index fe63e0d..f5d4740 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -2958,7 +2958,7 @@ uaudio_mixer_get(struct usb_device *udev, uint8_t what,
USETW(req.wIndex, mc->wIndex);
USETW(req.wLength, len);
- err = usbd_do_request(udev, &Giant, &req, data);
+ err = usbd_do_request(udev, NULL, &req, data);
if (err) {
DPRINTF("err=%s\n", usbd_errstr(err));
return (0);
@@ -3081,7 +3081,7 @@ uaudio_set_speed(struct usb_device *udev, uint8_t endpt, uint32_t speed)
data[1] = speed >> 8;
data[2] = speed >> 16;
- return (usbd_do_request(udev, &Giant, &req, data));
+ return (usbd_do_request(udev, NULL, &req, data));
}
static int
OpenPOWER on IntegriCloud