aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fail_function.c')
-rw-r--r--kernel/fail_function.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/fail_function.c b/kernel/fail_function.c
index 5349c91c2298..bc80a4e268c0 100644
--- a/kernel/fail_function.c
+++ b/kernel/fail_function.c
@@ -184,9 +184,6 @@ static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)
184 if (should_fail(&fei_fault_attr, 1)) { 184 if (should_fail(&fei_fault_attr, 1)) {
185 regs_set_return_value(regs, attr->retval); 185 regs_set_return_value(regs, attr->retval);
186 override_function_with_return(regs); 186 override_function_with_return(regs);
187 /* Kprobe specific fixup */
188 reset_current_kprobe();
189 preempt_enable_no_resched();
190 return 1; 187 return 1;
191 } 188 }
192 189