rtld load_filtees(): reindent and reduce block nesting

(cherry picked from commit 30b5f6b33b)
This commit is contained in:
Konstantin Belousov 2024-02-13 03:19:43 +02:00
parent c6d4339208
commit e43855c6f1

View file

@ -2572,13 +2572,12 @@ load_filtee1(Obj_Entry *obj, Needed_Entry *needed, int flags,
static void
load_filtees(Obj_Entry *obj, int flags, RtldLockState *lockstate)
{
if (!obj->filtees_loaded) {
if (obj->filtees_loaded)
return;
lock_restart_for_upgrade(lockstate);
load_filtee1(obj, obj->needed_filtees, flags, lockstate);
load_filtee1(obj, obj->needed_aux_filtees, flags, lockstate);
obj->filtees_loaded = true;
}
}
static int