mm/memcontrol.c: remove unused private flag of memory.oom_control
authorLu Jialin <lujialin4@huawei.com>
Fri, 29 Apr 2022 06:16:00 +0000 (23:16 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:00 +0000 (23:16 -0700)
commit9707aff701e325e7c4660409c43392ff2fb36fad
tree524610c9d7ec2b06bd39b176df0dbb693abb16e6
parentef7a4ffc4c7f969d61e297c53cb2de1d6f012a11
mm/memcontrol.c: remove unused private flag of memory.oom_control

There is no use for the private value, __OOM_TYPE and OOM notifier
OOM_CONTROL.  Therefore remove them to make the code clean.

Link: https://lkml.kernel.org/r/20220421122755.40899-1-lujialin4@huawei.com
Signed-off-by: Lu Jialin <lujialin4@huawei.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c