]> www.infradead.org Git - users/hch/misc.git/commit
bus: fsl-mc: Remove deadcode
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 15 Nov 2024 15:20:55 +0000 (15:20 +0000)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 21 Mar 2025 08:46:08 +0000 (09:46 +0100)
commitc25951eb7518844fcb7fc9ec58e888731e8c46d0
tree94a0b130d2973c8e9abb01e313b60a4d28a30402
parent586739b1e8b14a38145a80e7684874d1a3268498
bus: fsl-mc: Remove deadcode

fsl_mc_allocator_driver_exit() was added explicitly by
commit 1e8ac83b6caf ("bus: fsl-mc: add fsl_mc_allocator cleanup function")
but was never used.

Remove it.

fsl_mc_portal_reset() was added in 2015 by
commit 197f4d6a4a00 ("staging: fsl-mc: fsl-mc object allocator driver")
but was never used.

Remove it.

fsl_mc_portal_reset() was the only caller of dpmcp_reset().

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20241115152055.279732-1-linux@treblig.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/bus/fsl-mc/dpmcp.c
drivers/bus/fsl-mc/fsl-mc-allocator.c
drivers/bus/fsl-mc/fsl-mc-private.h
drivers/bus/fsl-mc/mc-io.c
include/linux/fsl/mc.h