PERFORCE change 161578 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon May 4 19:58:50 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161578

Change 161578 by hselasky at hselasky_laptop001 on 2009/05/04 19:58:29

	
	USB storage:
	  - Remove printout which was also printed when
	    the USB device was not of mass storage kind.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/storage/umass.c#14 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/storage/umass.c#14 (text+ko) ====

@@ -1406,10 +1406,9 @@
 
 default_proto:
 	ret.proto = umass_get_proto(uaa->iface);
-	if (ret.proto == 0) {
-		device_printf(dev, "Unsupported protocol.\n");
+	if (ret.proto == 0)
 		ret.error = ENXIO;
-	} else
+	else
 		ret.error = 0;
 done:
 	return (ret);


More information about the p4-projects mailing list