]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite83dfde494946d898c22595c00e6f9f6f99b556f
tree3db4a803d9f0dfde2b945c8f8459bc499f3de0a2
parentd526268e5a5fcaafd81c941d48441e51d6397a13
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