mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
rtld load_filtees(): reindent and reduce block nesting
(cherry picked from commit 30b5f6b33b)
This commit is contained in:
parent
c6d4339208
commit
e43855c6f1
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue