summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-12-07 05:36:01 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 17:39:32 +0100
commit593be07ae8f6f4a1b1b98813fabb155328f8bc0c (patch)
tree570686c676986d79ff0868f88c499a8b8fc1d3b4 /drivers/rtc
parent[PATCH] SysRq-X: show blocked tasks (diff)
downloadlinux-593be07ae8f6f4a1b1b98813fabb155328f8bc0c.tar.xz
linux-593be07ae8f6f4a1b1b98813fabb155328f8bc0c.zip
[PATCH] file: kill unnecessary timer in fdtable_defer
free_fdtable_rc() schedules timer to reschedule fddef->wq if schedule_work() on it returns 0. However, schedule_work() guarantees that the target work is executed at least once after the scheduling regardless of its return value. 0 return simply means that the work was already pending and thus no further action was required. Another problem is that it used contant '5' as @expires argument to mod_timer(). Kill unnecessary fddef->timer. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Dipankar Sarma <dipankar@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions