Commit c312d14
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.com1 parent bc75e54 commit c312d14
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | 343 | | |
352 | 344 | | |
353 | 345 | | |
| |||
363 | 355 | | |
364 | 356 | | |
365 | 357 | | |
366 | | - | |
| 358 | + | |
367 | 359 | | |
368 | 360 | | |
369 | 361 | | |
| |||
0 commit comments