aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/posix-timers.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/posix-timers.c')
-rw-r--r--kernel/posix-timers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index 748497fffd0f..f9142a99b5cb 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -204,8 +204,6 @@ static inline int invalid_clockid(const clockid_t which_clock)
204 return 1; 204 return 1;
205 if (posix_clocks[which_clock].clock_getres != NULL) 205 if (posix_clocks[which_clock].clock_getres != NULL)
206 return 0; 206 return 0;
207 if (posix_clocks[which_clock].res != 0)
208 return 0;
209 return 1; 207 return 1;
210} 208}
211 209