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 --- board/karo/tx25/tx25.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'board/karo') diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c index 307ffd0cbe..ec83f997cc 100644 --- a/board/karo/tx25/tx25.c +++ b/board/karo/tx25/tx25.c @@ -31,12 +31,6 @@ #include #include -static void mdelay(int n) -{ - while (n-- > 0) - udelay(1000); -} - DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_FEC_MXC -- cgit v1.2.3