From: Richard Knutsson Date: Mon, 12 Feb 2007 08:51:50 +0000 (-0800) Subject: [PATCH] include/linux/kernel.h: Remove labs() X-Git-Tag: firefly_0821_release~31122^2~207 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680;p=firefly-linux-kernel-4.4.55.git [PATCH] include/linux/kernel.h: Remove labs() Remove labs() since it is not used/needed. Signed-off-by: Richard Knutsson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, ...)