uprobes: Simplify is_swbp_at_addr(), remove stale comments
authorOleg Nesterov <oleg@redhat.com>
Sun, 23 Sep 2012 19:55:19 +0000 (21:55 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 29 Sep 2012 19:21:54 +0000 (21:21 +0200)
commitec75fba93ef0c00c91545b5e53841a80cffad0c4
treee71ccd7816177b80bfffaf80f6ff7039acc92dda
parented6f6a50dc5f183c53e7b3b7fed4794bc50d9aa7
uprobes: Simplify is_swbp_at_addr(), remove stale comments

After the previous change is_swbp_at_addr() is always called with
current->mm. Remove this check and move it close to its single caller.

Also, remove the obsolete comment about is_swbp_at_addr() and
uprobe_state.count.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c