bus: fsl-mc: drop useless cleanup
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 8 Apr 2025 10:58:13 +0000 (13:58 +0300)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 12 May 2025 23:34:57 +0000 (01:34 +0200)
commita941bed23c9473665c773453f8a835668af070bf
treecdd3b531059be13a36fed4c97e99efe5a8839e0a
parenta8c17b9cbf87cb9d98d501a16a47e5fe5839e855
bus: fsl-mc: drop useless cleanup

This cleanup is actually a no-op because the resources are freed when
the device objects are removed from the allocator at driver remove
time. Remove the fsl_mc_cleanup_all_resource_pools() function and its
call site.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20250408105814.2837951-6-ioana.ciornei@nxp.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/bus/fsl-mc/dprc-driver.c
drivers/bus/fsl-mc/fsl-mc-allocator.c
drivers/bus/fsl-mc/fsl-mc-private.h