uprobes: Remove check for uprobe variable in handle_swbp()

by the time we get here (after we pass cleanup_ret) uprobe is always is
set. If it is NULL we leave very early in the code.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
This commit is contained in:
Sebastian Andrzej Siewior
2012-08-07 18:12:30 +02:00
committed by Oleg Nesterov
parent 61e1d39498
commit 8bd874456e

View File

@@ -1516,7 +1516,6 @@ cleanup_ret:
utask->active_uprobe = NULL; utask->active_uprobe = NULL;
utask->state = UTASK_RUNNING; utask->state = UTASK_RUNNING;
} }
if (uprobe) {
if (!(uprobe->flags & UPROBE_SKIP_SSTEP)) if (!(uprobe->flags & UPROBE_SKIP_SSTEP))
/* /*
@@ -1527,7 +1526,6 @@ cleanup_ret:
put_uprobe(uprobe); put_uprobe(uprobe);
} }
}
/* /*
* Perform required fix-ups and disable singlestep. * Perform required fix-ups and disable singlestep.