timer: Stats: Simplify the flags handling
[linux-2.6-block.git] / kernel / time / timer.c
index 1540af9f62eb3c3323212f59a85fd1cef552f09b..3398d93c74a7a0cdd30fbc355a29c43177520e66 100644 (file)
@@ -404,15 +404,12 @@ void __timer_stats_timer_set_start_info(struct timer_list *timer, void *addr)
 
 static void timer_stats_account_timer(struct timer_list *timer)
 {
-       unsigned int flag = 0;
-
        if (likely(!timer->start_site))
                return;
-       if (unlikely(timer->flags & TIMER_DEFERRABLE))
-               flag |= TIMER_STATS_FLAG_DEFERRABLE;
 
        timer_stats_update_stats(timer, timer->start_pid, timer->start_site,
-                                timer->function, timer->start_comm, flag);
+                                timer->function, timer->start_comm,
+                                timer->flags);
 }
 
 #else