X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fhrtimer.c;h=421be5fe5cc78f5d2be0eabd3ba2367fe1b15b3e;hb=afd38009cc3acd36d41f349a669ad5825d695b1f;hp=9af1d6a8095e40f80e64cdade6c0c3b505184466;hpb=ec31b2124158f60c515ed84bd5e40db1a883c7b6;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