forked from Minki/linux
[PATCH] uml: Fix redundant assignment
By this point, .is_user has already been set, so this assignment is useless. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
9057e9deee
commit
d9b7cc84af
@ -58,7 +58,6 @@ void user_signal(int sig, union uml_pt_regs *regs, int pid)
|
||||
int segv = ((sig == SIGFPE) || (sig == SIGSEGV) || (sig == SIGBUS) ||
|
||||
(sig == SIGILL) || (sig == SIGTRAP));
|
||||
|
||||
regs->skas.is_user = 1;
|
||||
if (segv)
|
||||
get_skas_faultinfo(pid, ®s->skas.faultinfo);
|
||||
info = &sig_info[sig];
|
||||
|
Loading…
Reference in New Issue
Block a user