diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2023-08-08 08:04:42 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-16 23:54:47 +1000 |
commit | fbbf4280dae4c02d2f176a8fdac7a7d32fe76fc0 (patch) | |
tree | 2a481b675f9a4517a8b2d60deb166c648a9fb4c8 /lib/kunit/string-stream-test.c | |
parent | cb888cdf741c958cae3e00b649fb7ed5c9bb2d49 (diff) |
powerpc/8xx: Remove immr_map() and immr_unmap()
Since commit fb533d0c5a97 ("[POWERPC] 8xx: Infrastructure code cleanup.")
immr_map() is just returning mpc8xxx_immr pointer and immr_unmap()
do nothing.
We already have parts of code that use mpc8xxx_immr directly so get rid
of immr_map() and immr_unmap() by using mpc8xxx_immr directly. And avoid
going through local pointers that hide the pointed structure.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/633ed46f6015ff44d5599258647ea517f75d6a1d.1691474658.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'lib/kunit/string-stream-test.c')
0 files changed, 0 insertions, 0 deletions