summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/kmemcheck
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 17:07:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 17:07:54 +0200
commit991d79b0d1255f89267a350b0048eca59f100cbb (patch)
tree65ddf4160f959952d9f4955fda8844374768b83e /arch/x86/mm/kmemcheck
parentMerge branch 'for-2.6.32' of git://linux-nfs.org/~bfields/linux (diff)
parentkmemcheck: add missing braces to do-while in kmemcheck_annotate_bitfield (diff)
downloadlinux-991d79b0d1255f89267a350b0048eca59f100cbb.tar.xz
linux-991d79b0d1255f89267a350b0048eca59f100cbb.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck: kmemcheck: add missing braces to do-while in kmemcheck_annotate_bitfield kmemcheck: update documentation kmemcheck: depend on HAVE_ARCH_KMEMCHECK kmemcheck: remove useless check kmemcheck: remove duplicated #include
Diffstat (limited to 'arch/x86/mm/kmemcheck')
-rw-r--r--arch/x86/mm/kmemcheck/kmemcheck.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/mm/kmemcheck/kmemcheck.c b/arch/x86/mm/kmemcheck/kmemcheck.c
index 528bf954eb74..8cc183344140 100644
--- a/arch/x86/mm/kmemcheck/kmemcheck.c
+++ b/arch/x86/mm/kmemcheck/kmemcheck.c
@@ -225,9 +225,6 @@ void kmemcheck_hide(struct pt_regs *regs)
BUG_ON(!irqs_disabled());
- if (data->balance == 0)
- return;
-
if (unlikely(data->balance != 1)) {
kmemcheck_show_all();
kmemcheck_error_save_bug(regs);