PERFORCE change 170858 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Nov 20 11:20:40 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=170858
Change 170858 by hselasky at hselasky_laptop001 on 2009/11/20 11:20:16
USB input:
- style change
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/input/atp.c#3 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/input/atp.c#3 (text+ko) ====
@@ -1573,10 +1573,7 @@
(uaa->info.bInterfaceProtocol != UIPROTO_MOUSE))
return (ENXIO);
- if (usbd_lookup_id_by_uaa(atp_devs, sizeof(atp_devs), uaa) == 0)
- return 0;
- else
- return ENXIO;
+ return (usbd_lookup_id_by_uaa(atp_devs, sizeof(atp_devs), uaa));
}
static int
More information about the p4-projects
mailing list