powerpc/powernv/ioda: using kfree_rcu() to simplify the code
authorYueHaibing <yuehaibing@huawei.com>
Thu, 11 Jul 2019 14:18:18 +0000 (22:18 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:07 +0000 (16:58 +1100)
commitc312d14e19bb7ca8214ef661d9a125cd631528cb
tree3db4a803d9f0dfde2b945c8f8459bc499f3de0a2
parentbc75e5438488edef80d952d1146701f872092750
powerpc/powernv/ioda: 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: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190711141818.18044-1-yuehaibing@huawei.com
arch/powerpc/platforms/powernv/pci-ioda-tce.c