提交 0c4f6eec 编写于 作者: T Thomas Gleixner 提交者: Linus Torvalds

[PATCH] hrtimer: remove unused clock constants

remove unused CLOCK_ constants from time.h
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 199e7056
...@@ -108,8 +108,6 @@ struct itimerval { ...@@ -108,8 +108,6 @@ struct itimerval {
#define CLOCK_MONOTONIC 1 #define CLOCK_MONOTONIC 1
#define CLOCK_PROCESS_CPUTIME_ID 2 #define CLOCK_PROCESS_CPUTIME_ID 2
#define CLOCK_THREAD_CPUTIME_ID 3 #define CLOCK_THREAD_CPUTIME_ID 3
#define CLOCK_REALTIME_HR 4
#define CLOCK_MONOTONIC_HR 5
/* /*
* The IDs of various hardware clocks * The IDs of various hardware clocks
...@@ -118,9 +116,8 @@ struct itimerval { ...@@ -118,9 +116,8 @@ struct itimerval {
#define CLOCK_SGI_CYCLE 10 #define CLOCK_SGI_CYCLE 10
#define MAX_CLOCKS 16 #define MAX_CLOCKS 16
#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC | \ #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
CLOCK_REALTIME_HR | CLOCK_MONOTONIC_HR) #define CLOCKS_MONO (CLOCK_MONOTONIC)
#define CLOCKS_MONO (CLOCK_MONOTONIC & CLOCK_MONOTONIC_HR)
/* /*
* The various flags for setting POSIX.1b interval timers. * The various flags for setting POSIX.1b interval timers.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册