summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_util.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-03-20 22:12:15 +0000
committerthompsa <thompsa@FreeBSD.org>2009-03-20 22:12:15 +0000
commit2deb944310c347df6f05fd33338759c892108f24 (patch)
treef2a3bb5f3586c76c0d0e45a37f080d314eea2298 /sys/dev/usb/usb_util.c
parent898902325aaadd20a2c54db25450365615abbb7e (diff)
downloadFreeBSD-src-2deb944310c347df6f05fd33338759c892108f24.zip
FreeBSD-src-2deb944310c347df6f05fd33338759c892108f24.tar.gz
MFp4 //depot/projects/usb@159446
Remove unused and depreciated function: usb2_get_devid(). Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_util.c')
-rw-r--r--sys/dev/usb/usb_util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/usb/usb_util.c b/sys/dev/usb/usb_util.c
index adc486d..b07630f 100644
--- a/sys/dev/usb/usb_util.c
+++ b/sys/dev/usb/usb_util.c
@@ -203,20 +203,6 @@ usb2_trim_spaces(char *p)
#endif
/*------------------------------------------------------------------------*
- * usb2_get_devid
- *
- * This function returns the USB Vendor and Product ID like a 32-bit
- * unsigned integer.
- *------------------------------------------------------------------------*/
-uint32_t
-usb2_get_devid(device_t dev)
-{
- struct usb2_attach_arg *uaa = device_get_ivars(dev);
-
- return ((uaa->info.idVendor << 16) | (uaa->info.idProduct));
-}
-
-/*------------------------------------------------------------------------*
* usb2_make_str_desc - convert an ASCII string into a UNICODE string
*------------------------------------------------------------------------*/
uint8_t
OpenPOWER on IntegriCloud