From: Mike Frysinger Date: Mon, 9 Apr 2012 13:39:54 +0000 (+0000) Subject: lin_gadget: use common mdelay X-Git-Tag: v2012.07-rc1~148^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e2c05873a7c51b13a8ddf1eeda4dc96c37013c4;p=u-boot lin_gadget: use common mdelay No need to provide our own mdelay() macro when we have a func for it. Signed-off-by: Mike Frysinger --- diff --git a/include/usb/lin_gadget_compat.h b/include/usb/lin_gadget_compat.h index fce3be7e80..1b937e43a2 100644 --- a/include/usb/lin_gadget_compat.h +++ b/include/usb/lin_gadget_compat.h @@ -52,7 +52,6 @@ #define kmalloc(size, type) memalign(CONFIG_SYS_CACHELINE_SIZE, size) #define kfree(addr) free(addr) -#define mdelay(n) ({unsigned long msec = (n); while (msec--) udelay(1000); }) #define __iomem #define min_t min