diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-02-12 03:51:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:28 -0500 |
commit | 5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680 (patch) | |
tree | fc2c6e4080534093a01e3017711e2ee1b5ee1ab9 /include | |
parent | 893de2dffb0923d9bdba4abd66afcec3cf9103ba (diff) |
[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')
-rw-r--r-- | include/linux/kernel.h | 5 |
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); | |||
92 | (__x < 0) ? -__x : __x; \ | 92 | (__x < 0) ? -__x : __x; \ |
93 | }) | 93 | }) |
94 | 94 | ||
95 | #define labs(x) ({ \ | ||
96 | long __x = (x); \ | ||
97 | (__x < 0) ? -__x : __x; \ | ||
98 | }) | ||
99 | |||
100 | extern struct atomic_notifier_head panic_notifier_list; | 95 | extern struct atomic_notifier_head panic_notifier_list; |
101 | extern long (*panic_blink)(long time); | 96 | extern long (*panic_blink)(long time); |
102 | NORET_TYPE void panic(const char * fmt, ...) | 97 | NORET_TYPE void panic(const char * fmt, ...) |