Skip to content

Commit

Permalink
lin_gadget: use common mdelay
Browse files Browse the repository at this point in the history
No need to provide our own mdelay() macro when we have a func for it.

Signed-off-by: Mike Frysinger <[email protected]>
  • Loading branch information
vapier authored and vdsao committed Apr 30, 2012
1 parent e3ed057 commit 4e2c058
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/usb/lin_gadget_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e2c058

Please sign in to comment.