mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
Remove superfluous support for preloaded modules
This commit is contained in:
@@ -239,6 +239,7 @@ static struct keybuf empty_keybuf = {
|
||||
static void
|
||||
keybuf_init(void)
|
||||
{
|
||||
#ifndef __rtems__
|
||||
caddr_t kmdp;
|
||||
|
||||
kmdp = preload_search_by_type("elf kernel");
|
||||
@@ -250,6 +251,7 @@ keybuf_init(void)
|
||||
MODINFO_METADATA | MODINFOMD_KEYBUF);
|
||||
|
||||
if (keybuf == NULL)
|
||||
#endif /* __rtems__ */
|
||||
keybuf = &empty_keybuf;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user