summaryrefslogtreecommitdiffstats
path: root/mm/mmu_notifier.c
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-21 16:34:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-21 17:55:02 -0700
commit45f3e385b7a639c633d7a4b1e863c2d52b918258 (patch)
tree8f0c068aff36cc4f915899ed68d2e8686d75b069 /mm/mmu_notifier.c
parent13fd1dd9db345f6b2babd1e80a1c929092eb4896 (diff)
downloadop-kernel-dev-45f3e385b7a639c633d7a4b1e863c2d52b918258.zip
op-kernel-dev-45f3e385b7a639c633d7a4b1e863c2d52b918258.tar.gz
mm/memcontrol.c: remove redundant BUG_ON() in mem_cgroup_usage_unregister_event()
In the following code: if (type == _MEM) thresholds = &memcg->thresholds; else if (type == _MEMSWAP) thresholds = &memcg->memsw_thresholds; else BUG(); BUG_ON(!thresholds); The BUG_ON() seems redundant. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud