Commit 5199766d authored by Chen Jun's avatar Chen Jun Committed by Zhong Jinghua
Browse files

mm/sharepool: use delete_spg_node to replace some repetitive code

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I650K6



--------------------------------

delete_spg_node can be use to replace the code snippets as follows:
list_del(&node->proc_node);
spg->proc_num--;

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
parent 8da9e85b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment