aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-02-12 00:51:50 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 09:48:28 -0800
commit5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680 (patch)
treefc2c6e4080534093a01e3017711e2ee1b5ee1ab9 /include/linux/kernel.h
parent893de2dffb0923d9bdba4abd66afcec3cf9103ba (diff)
downloadkernel_samsung_tuna-5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680.zip
kernel_samsung_tuna-5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680.tar.gz
kernel_samsung_tuna-5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680.tar.bz2
[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 e91dce7..3531764 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, ...)