Skip to content

Commit

Permalink
[PATCH] include/linux/kernel.h: Remove labs()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Knutsson authored and Linus Torvalds committed Feb 12, 2007
1 parent 893de2d commit 5be02f1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
Expand Down

0 comments on commit 5be02f1

Please sign in to comment.