Re: [PATCH] kern/dl: Disable grub_dl_unload_unneeded

2021-03-23 Thread Daniel Kiper
On Sat, Mar 20, 2021 at 01:22:44AM +, 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 >

[PATCH] kern/dl: Disable grub_dl_unload_unneeded

2021-03-19 Thread Colin Watson
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