Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/memcontrol.c: remove redundant BUG_ON() in mem_cgroup_usage_unregi…
…ster_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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information