summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-02-12 11:51:50 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 20:48:28 +0300
commit5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680 (patch)
treefc2c6e4080534093a01e3017711e2ee1b5ee1ab9 /include/linux/kernel.h
parent893de2dffb0923d9bdba4abd66afcec3cf9103ba (diff)
downloadlinux-5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680.tar.xz
[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>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index e91dce75bbcc..3531764318f2 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -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, ...)