Commit 3f3f36e1 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: remove wait_ms() from usb.h as it's no longer needed.

parent 65815c0b
...@@ -20,17 +20,6 @@ ...@@ -20,17 +20,6 @@
#include <linux/completion.h> /* for struct completion */ #include <linux/completion.h> /* for struct completion */
#include <linux/sched.h> /* for current && schedule_timeout */ #include <linux/sched.h> /* for current && schedule_timeout */
static __inline__ void wait_ms(unsigned int ms)
{
if(!in_interrupt()) {
current->state = TASK_UNINTERRUPTIBLE;
schedule_timeout(1 + ms * HZ / 1000);
}
else
mdelay(ms);
}
struct usb_device; struct usb_device;
struct usb_driver; struct usb_driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment