summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_util.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-06-15 00:33:18 +0000
committerthompsa <thompsa@FreeBSD.org>2009-06-15 00:33:18 +0000
commit59f1f60cfaca26c7758f2642afca8d6500b9a06a (patch)
tree4b81b631b249a903756a500ebc8bef07b76398ef /sys/dev/usb/usb_util.h
parent2eb7fca9b24623d41ab43a71dd08544ad8a48c50 (diff)
downloadFreeBSD-src-59f1f60cfaca26c7758f2642afca8d6500b9a06a.zip
FreeBSD-src-59f1f60cfaca26c7758f2642afca8d6500b9a06a.tar.gz
Remove usb2_cv_* and just use the kernel condvar implementation, it was needed
earlier since condition variables didnt work with Giant but this was fixed 10 months ago.
Diffstat (limited to 'sys/dev/usb/usb_util.h')
-rw-r--r--sys/dev/usb/usb_util.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/dev/usb/usb_util.h b/sys/dev/usb/usb_util.h
index a265a44..4273306 100644
--- a/sys/dev/usb/usb_util.h
+++ b/sys/dev/usb/usb_util.h
@@ -34,23 +34,4 @@ void usb2_pause_mtx(struct mtx *mtx, int _ticks);
void usb2_printBCD(char *p, uint16_t p_len, uint16_t bcd);
void usb2_trim_spaces(char *p);
-#if (USB_HAVE_CONDVAR == 0)
-void usb2_cv_init(struct cv *cv, const char *desc);
-void usb2_cv_destroy(struct cv *cv);
-void usb2_cv_wait(struct cv *cv, struct mtx *mtx);
-int usb2_cv_wait_sig(struct cv *cv, struct mtx *mtx);
-int usb2_cv_timedwait(struct cv *cv, struct mtx *mtx, int timo);
-void usb2_cv_signal(struct cv *cv);
-void usb2_cv_broadcast(struct cv *cv);
-
-#else
-#define usb2_cv_init cv_init
-#define usb2_cv_destroy cv_destroy
-#define usb2_cv_wait cv_wait
-#define usb2_cv_wait_sig cv_wait_sig
-#define usb2_cv_timedwait cv_timedwait
-#define usb2_cv_signal cv_signal
-#define usb2_cv_broadcast cv_broadcast
-#endif
-
#endif /* _USB2_UTIL_H_ */
OpenPOWER on IntegriCloud