X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fhrtimer.c;h=421be5fe5cc78f5d2be0eabd3ba2367fe1b15b3e;hb=424de91dd6163808729d7082de55c319e1096bee;hp=9af1d6a8095e40f80e64cdade6c0c3b505184466;hpb=237fc6e7a35076f584b9d0794a5204fe4bd9b9e5;p=linux-2.6 diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 9af1d6a809..421be5fe5c 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -153,15 +153,6 @@ static void hrtimer_get_softirq_time(struct hrtimer_cpu_base *base) ktime_add(xtim, tomono); } -/* - * Helper function to check, whether the timer is running the callback - * function - */ -static inline int hrtimer_callback_running(struct hrtimer *timer) -{ - return timer->state & HRTIMER_STATE_CALLBACK; -} - /* * Functions and macros which are different for UP/SMP systems are kept in a * single place