Commit 493f01d1 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] kernel/posix-timers.c: remove do_posix_clock_notimer_create()

This function is neither used nor has any real contents.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 952bbc87
...@@ -84,7 +84,6 @@ struct k_clock { ...@@ -84,7 +84,6 @@ struct k_clock {
void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock); void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock);
/* error handlers for timer_create, nanosleep and settime */ /* error handlers for timer_create, nanosleep and settime */
int do_posix_clock_notimer_create(struct k_itimer *timer);
int do_posix_clock_nonanosleep(const clockid_t, int flags, struct timespec *, int do_posix_clock_nonanosleep(const clockid_t, int flags, struct timespec *,
struct timespec __user *); struct timespec __user *);
int do_posix_clock_nosettime(const clockid_t, struct timespec *tp); int do_posix_clock_nosettime(const clockid_t, struct timespec *tp);
......
...@@ -875,12 +875,6 @@ int do_posix_clock_nosettime(const clockid_t clockid, struct timespec *tp) ...@@ -875,12 +875,6 @@ int do_posix_clock_nosettime(const clockid_t clockid, struct timespec *tp)
} }
EXPORT_SYMBOL_GPL(do_posix_clock_nosettime); EXPORT_SYMBOL_GPL(do_posix_clock_nosettime);
int do_posix_clock_notimer_create(struct k_itimer *timer)
{
return -EINVAL;
}
EXPORT_SYMBOL_GPL(do_posix_clock_notimer_create);
int do_posix_clock_nonanosleep(const clockid_t clock, int flags, int do_posix_clock_nonanosleep(const clockid_t clock, int flags,
struct timespec *t, struct timespec __user *r) struct timespec *t, struct timespec __user *r)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment