On Sat, Mar 20, 2021 at 01:22:44AM +0000, Colin Watson wrote:
> grub_dl_unload_unneeded has been unused by default since de04eecfa9 put
> its only call within an "#if 0", so there's no point in it sitting
> around taking up space in the core image.  Turn the "#if 0" into "#ifdef
> GRUB_UNLOAD_UNNEEDED_MODULES" just in case somebody is turning this code
> back on locally for some reason, and guard all the relevant code with it
> rather than just the call in grub_memalign.

I would drop this function entirely. If somebody needs it they can
restore it from git history.

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to