diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-01 13:51:56 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 15:28:15 +0100 |
commit | ebaac757acae0431e2c79c00e09f1debdabbddd7 (patch) | |
tree | 3f5dbd5cdb4cd6effd1556e65b4885edc8e269de /include/linux/posix-timers.h | |
parent | e5e542eea9075dd008993c2ee80b2cc9f31fc494 (diff) | |
download | lwn-ebaac757acae0431e2c79c00e09f1debdabbddd7.tar.gz lwn-ebaac757acae0431e2c79c00e09f1debdabbddd7.zip |
posix-timers: Remove useless res field from k_clock
The res member of kclock is only used by mmtimer.c, but even there it
contains redundant information. Remove the field and fixup mmtimer.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
Tested-by: Richard Cochran <richard.cochran@omicron.at>
LKML-Reference: <20110201134418.808714587@linutronix.de>
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r-- | include/linux/posix-timers.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index 4aaf0c5c7cea..ef574d177fb6 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h @@ -67,7 +67,6 @@ struct k_itimer { }; struct k_clock { - int res; /* in nanoseconds */ int (*clock_getres) (const clockid_t which_clock, struct timespec *tp); int (*clock_set) (const clockid_t which_clock, const struct timespec *tp); |