frv, exec: remove redundant set_fs(USER_DS)
authorMathias Krause <[email protected]>
Tue, 26 Jul 2011 23:08:15 +0000 (16:08 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2011 23:49:41 +0000 (16:49 -0700)
commitadc400f69053b16756ff3b00daa64884c8df0787
treee1217453e0aba0aed1adfec0bfba9baf611dd334
parent6fd4ce886440c7a1b08b6642e606ee19097829df
frv, exec: remove redundant set_fs(USER_DS)

The address limit is already set in flush_old_exec() so those calls to
set_fs(USER_DS) are redundant.

Also removed the dead code in flush_thread().

Signed-off-by: Mathias Krause <[email protected]>
Acked-by: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/frv/include/asm/processor.h
arch/frv/kernel/process.c