consolidate mdelay by providing a common function for all users
[oweals/u-boot.git] / arch / arm / cpu / arm920t / s3c24x0 / usb_ohci.c
index 9a0bbaeb4c9c2334c0970add0236855464bea01c..263d2ce65d9cd90eef8bdc274c3f7c971c4a9f68 100644 (file)
@@ -1540,7 +1540,6 @@ static int hc_start(struct ohci *ohci)
        writel(RH_HS_LPSC, &ohci->regs->roothub.status);
 #endif /* OHCI_USE_NPS */
 
-#define mdelay(n) ({unsigned long msec=(n); while (msec--) udelay(1000);})
        /* POTPGT delay is bits 24-31, in 2 ms units. */
        mdelay((roothub_a(ohci) >> 23) & 0x1fe);