mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
tree-wide: move variables to innermost scope
This commit is contained in:
@@ -203,12 +203,10 @@ void cgroup_context_remove_bpf_foreign_program(CGroupContext *c, CGroupBPFForeig
|
||||
}
|
||||
|
||||
void cgroup_context_remove_socket_bind(CGroupSocketBindItem **head) {
|
||||
CGroupSocketBindItem *h;
|
||||
|
||||
assert(head);
|
||||
|
||||
while (*head) {
|
||||
h = *head;
|
||||
CGroupSocketBindItem *h = *head;
|
||||
LIST_REMOVE(socket_bind_items, *head, h);
|
||||
free(h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user