futex: Avoid redudant evaluation of task_pid_vnr()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Mar 2011 10:51:22 +0000 (11:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 11 Mar 2011 11:23:07 +0000 (12:23 +0100)
commitc0c9ed15042ceac7c485813012a0a97316101b57
treec89272252b44c8330854bee7291e81252d7715f5
parent8fe8f545c6d753ead15e1f4919d39e8f9bb49629
futex: Avoid redudant evaluation of task_pid_vnr()

The result is not going to change under us, so no need to reevaluate
this over and over. Seems to be a leftover from the mechanical mass
conversion of task->pid to task_pid_vnr(tsk).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c