From 3f3f36e1720c8fa99c471d8fdcef37fee79646cb Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 18 May 2004 02:00:04 -0700 Subject: [PATCH] USB: remove wait_ms() from usb.h as it's no longer needed. --- include/linux/usb.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/usb.h b/include/linux/usb.h index 21bec41ea6c93..cf243917d9c32 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -20,17 +20,6 @@ #include /* for struct completion */ #include /* 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_driver; -- 2.53.0