Commit 5a8ac9d2 authored by Américo Wang's avatar Américo Wang Committed by Ingo Molnar

x86: ptrace, bts: fix an unreachable statement

Commit c2724775 put a statement
after return, which makes that statement unreachable.

Move that statement before return.
Signed-off-by: default avatarWANG Cong <>
Cc: Roland McGrath <>
Cc: Markus Metzger <>
LKML-Reference: <20090313075622.GB8933@hack>
Cc: <> # .29 only
Signed-off-by: default avatarIngo Molnar <>
parent a98fe7f3
......@@ -685,9 +685,8 @@ static int ptrace_bts_config(struct task_struct *child,
if (!cfg.signal)
return -EINVAL;
child->thread.bts_ovfl_signal = cfg.signal;
if ((cfg.flags & PTRACE_BTS_O_ALLOC) &&
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment