uml: remove unused variables in the context switcher

This patch removes a variable which was not used in two functions.  Yet
another code cleanup, nothing really significant.

Please note that I could not test this on x86_64. I don't have the
hardware for it.

[ jdike - Bits of tidying around the affected code.  Also, it's fine on
x86_64 ]

Signed-off-by: Karol Swietlicki <magotari@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Karol Swietlicki
2008-02-04 22:30:49 -08:00
committed by Linus Torvalds
parent ab8cda4347
commit 291248fd6e
4 changed files with 13 additions and 16 deletions

View File

@ -172,7 +172,7 @@ void clear_flushed_tls(struct task_struct *task)
* SKAS patch.
*/
int arch_switch_tls(struct task_struct *from, struct task_struct *to)
int arch_switch_tls(struct task_struct *to)
{
if (!host_supports_tls)
return 0;