Re: Of fsl_mc_allocator_driver_exit

From: Ioana Ciornei
Date: Fri Nov 15 2024 - 09:23:15 EST


> * Dr. David Alan Gilbert (linux@xxxxxxxxxxx) wrote:
> > Hi,
> > One of my scripts noticed that fsl_mc_allocator_driver_exit()
> > was added explicitly in
> > commit 1e8ac83b6caf ("bus: fsl-mc: add fsl_mc_allocator cleanup function")
> >
> > but appears to be unused; given it's a cleanup function it feels like
> > it should be wired up _somewhere_.
> >

I don't think that fsl_mc_allocator_driver_exit() is of any use at this
point. The entire FSL_MC_BUS can only be built-in which means that there
is no module_exit() which references it.

The same thing is true about the dprc_driver_exit() function.

Ioana