From: Oleg Nesterov Date: Sun, 23 Sep 2012 19:55:19 +0000 (+0200) Subject: uprobes: Simplify is_swbp_at_addr(), remove stale comments X-Git-Tag: v3.7-rc3~40^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec75fba93ef0c00c91545b5e53841a80cffad0c4;p=pandora-kernel.git 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 Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed