svn commit: r200335 - stable/8/sys/dev/sound/usb

Andrew Thompson thompsa at FreeBSD.org
Wed Dec 9 15:10:33 PST 2009


Author: thompsa
Date: Wed Dec  9 23:10:32 2009
New Revision: 200335
URL: http://svn.freebsd.org/changeset/base/200335

Log:
  MFC r196487
  
   Remove redundant Giant reference. Giant will be dropped
   automatically when the mutex argument is NULL.

Modified:
  stable/8/sys/dev/sound/usb/uaudio.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/sound/usb/uaudio.c
==============================================================================
--- stable/8/sys/dev/sound/usb/uaudio.c	Wed Dec  9 22:42:40 2009	(r200334)
+++ stable/8/sys/dev/sound/usb/uaudio.c	Wed Dec  9 23:10:32 2009	(r200335)
@@ -2958,7 +2958,7 @@ uaudio_mixer_get(struct usb_device *udev
 	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
 	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


More information about the svn-src-stable-8 mailing list