commit | 6e07902f56fae81036ebc5a0b61d5ffdd739e4bc | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sat Feb 16 08:19:55 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 18 16:34:51 2019 -0800 |
tree | ca6e180f89295fcf044b6050435dcb023ff25ec8 | |
parent | 780feae7eb69388c8d8b661cda6706b0dc0f642b [diff] |
net: sched: using kfree_rcu() to simplify the code The callback function of call_rcu() just calls a kfree(), so we can use kfree_rcu() instead of call_rcu() + callback function. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>