From c4c9fbebae6a62d538817d0ccee698adaafc5d66 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Wed, 12 Oct 2011 02:31:39 +0000 Subject: consolidate mdelay by providing a common function for all users There are several mdelay() definitions in the driver and board code. Remove them all and provide a common mdelay() in lib/time.c. Signed-off-by: Anatolij Gustschin Acked-by: Mike Frysinger --- drivers/usb/host/sl811-hcd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/usb/host/sl811-hcd.c') diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 82a8b365f4e..c713d421c6f 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -51,8 +51,6 @@ #define SL811_ADR (0x50000000) #define SL811_DAT (0x50000001) -#define mdelay(n) ({unsigned long msec=(n); while (msec--) udelay(1000);}) - #ifdef SL811_DEBUG static int debug = 9; #endif -- cgit v1.2.3