[PATCH 3/7] UML - Fix redundant assignment

From: Jeff Dike
Date: Thu Jul 28 2005 - 12:16:44 EST


By this point, .is_user has already been set, so this assignment is useless.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: linux-2.6.12/arch/um/kernel/skas/trap_user.c
===================================================================
--- linux-2.6.12.orig/arch/um/kernel/skas/trap_user.c 2005-07-27 17:00:34.000000000 -0400
+++ linux-2.6.12/arch/um/kernel/skas/trap_user.c 2005-07-27 17:01:58.000000000 -0400
@@ -58,7 +58,6 @@
int segv = ((sig == SIGFPE) || (sig == SIGSEGV) || (sig == SIGBUS) ||
(sig == SIGILL) || (sig == SIGTRAP));

- regs->skas.is_user = 1;
if (segv)
get_skas_faultinfo(pid, &regs->skas.faultinfo);
info = &sig_info[sig];

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/