posix-cpu-timers: optimize and document timer_create callback
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 17 Nov 2009 22:14:13 +0000 (14:14 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 18 Nov 2009 11:36:05 +0000 (12:36 +0100)
commitba5ea951d0b5e5896180e21fe07f228d2b3b0e63
treef636c31ec68aed0d1e758c8aa36c06e320945ad8
parent8e1a928a2ed7e8d5cad97c8e985294b4caedd168
posix-cpu-timers: optimize and document timer_create callback

We have already new_timer initialized to all-zeros hence in function
initializations are not needed. Document function expectation about
new_timer argument as well.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: johnstul@us.ibm.com
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/posix-cpu-timers.c