From: Eric W. Biederman Date: Fri, 20 Apr 2018 00:00:20 +0000 (-0500) Subject: signal/microblaze: Remove the commented out force_sig_info in do_page_fault X-Git-Tag: v4.18-rc1~171^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ceb91ed1824d2e57007fb51dcb0d0d7110dc3fda;p=thirdparty%2Fkernel%2Flinux.git signal/microblaze: Remove the commented out force_sig_info in do_page_fault Remove the commented out call to force_sig_info right after a call to _exception in do_page_fault. The function _exception does exactly the work the commented out code does so there is no reason for the commented out code. Cc: Michal Simek Signed-off-by: "Eric W. Biederman" --- diff --git a/arch/microblaze/mm/fault.c b/arch/microblaze/mm/fault.c index 43d92167012ac..1251d380df47e 100644 --- a/arch/microblaze/mm/fault.c +++ b/arch/microblaze/mm/fault.c @@ -268,11 +268,6 @@ bad_area_nosemaphore: /* User mode accesses cause a SIGSEGV */ if (user_mode(regs)) { _exception(SIGSEGV, regs, code, address); -/* info.si_signo = SIGSEGV; - info.si_errno = 0; - info.si_code = code; - info.si_addr = (void *) address; - force_sig_info(SIGSEGV, &info, current);*/ return; }