[PATCH] include/linux/kernel.h: Remove labs()
authorRichard Knutsson <ricknu-0@student.ltu.se>
Mon, 12 Feb 2007 08:51:50 +0000 (00:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:28 +0000 (09:48 -0800)
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>
include/linux/kernel.h

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