Commit 5be02f1d authored by Richard Knutsson's avatar Richard Knutsson Committed by Linus Torvalds

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

Remove labs() since it is not used/needed.
Signed-off-by: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 893de2df
...@@ -92,11 +92,6 @@ extern int cond_resched(void); ...@@ -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, ...)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment