diff --git a/[refs] b/[refs] index bbfc91b62e95..c2c9c4bbdb74 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e40cfce626a5537994058ee9a940dcfdc0f68ef0 +refs/heads/master: e97f65a17deafacc360a4cb75ae944897ecea6d7 diff --git a/trunk/kernel/events/uprobes.c b/trunk/kernel/events/uprobes.c index 8d182bdecc2e..a4453d1c8199 100644 --- a/trunk/kernel/events/uprobes.c +++ b/trunk/kernel/events/uprobes.c @@ -321,17 +321,6 @@ static int is_swbp_at_addr(struct mm_struct *mm, unsigned long vaddr) */ int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr) { - int result; - /* - * See the comment near uprobes_hash(). - */ - result = is_swbp_at_addr(mm, vaddr); - if (result == 1) - return 0; - - if (result) - return result; - return write_opcode(auprobe, mm, vaddr, UPROBE_SWBP_INSN); }