Skip to content

Commit

Permalink
[PATCH] hrtimer: remove unused clock constants
Browse files Browse the repository at this point in the history
remove unused CLOCK_ constants from time.h

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Jan 10, 2006
1 parent 199e705 commit 0c4f6ee
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions include/linux/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,10 @@ struct itimerval {
/*
* The IDs of the various system clocks (for POSIX.1b interval timers).
*/
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define CLOCK_PROCESS_CPUTIME_ID 2
#define CLOCK_THREAD_CPUTIME_ID 3
#define CLOCK_REALTIME_HR 4
#define CLOCK_MONOTONIC_HR 5

/*
* The IDs of various hardware clocks
Expand All @@ -118,9 +116,8 @@ struct itimerval {

#define CLOCK_SGI_CYCLE 10
#define MAX_CLOCKS 16
#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC | \
CLOCK_REALTIME_HR | CLOCK_MONOTONIC_HR)
#define CLOCKS_MONO (CLOCK_MONOTONIC & CLOCK_MONOTONIC_HR)
#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
#define CLOCKS_MONO (CLOCK_MONOTONIC)

/*
* The various flags for setting POSIX.1b interval timers.
Expand Down

0 comments on commit 0c4f6ee

Please sign in to comment.