Browse Source

[PATCH] include/linux/kernel.h: Remove labs()

Remove labs() since it is not used/needed.

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Richard Knutsson 18 years ago
parent
commit
5be02f1d8a
1 changed files with 0 additions and 5 deletions
  1. 0 5
      include/linux/kernel.h

+ 0 - 5
include/linux/kernel.h

@@ -92,11 +92,6 @@ extern int cond_resched(void);
 		(__x < 0) ? -__x : __x;		\
 		(__x < 0) ? -__x : __x;		\
 	})
 	})
 
 
-#define labs(x) ({				\
-		long __x = (x);			\
-		(__x < 0) ? -__x : __x;		\
-	})
-
 extern struct atomic_notifier_head panic_notifier_list;
 extern struct atomic_notifier_head panic_notifier_list;
 extern long (*panic_blink)(long time);
 extern long (*panic_blink)(long time);
 NORET_TYPE void panic(const char * fmt, ...)
 NORET_TYPE void panic(const char * fmt, ...)