summaryrefslogtreecommitdiff
path: root/src/core/bpf-devices.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 12:08:26 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 16:31:32 +0100
commit12e2b70f9b849e54018f147b8a11154cd5e2dcf6 (patch)
tree6f887f1589d85f1da57bd81b8e06d5fa3982a4e1 /src/core/bpf-devices.c
parent5ea173a91b2093664a9ebb9add678edd6f5d1efd (diff)
downloadsystemd-12e2b70f9b849e54018f147b8a11154cd5e2dcf6.tar.gz
nulstr-util: Declare NULSTR_FOREACH() iterator inline
Diffstat (limited to 'src/core/bpf-devices.c')
-rw-r--r--src/core/bpf-devices.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/bpf-devices.c b/src/core/bpf-devices.c
index 3af9e78a1e..c79cda5b76 100644
--- a/src/core/bpf-devices.c
+++ b/src/core/bpf-devices.c
@@ -515,7 +515,6 @@ int bpf_devices_allow_list_static(
"/run/systemd/inaccessible/blk\0" "rwm\0";
int r = 0, k;
- const char *node, *acc;
NULSTR_FOREACH_PAIR(node, acc, auto_devices) {
k = bpf_devices_allow_list_device(prog, path, node, acc);
if (r >= 0 && k < 0)