]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/bpf-devices.c
nulstr-util: Declare NULSTR_FOREACH() iterator inline
[thirdparty/systemd.git] / src / core / bpf-devices.c
index 3af9e78a1e32f5e9f2987d115da3002cb0b77d92..c79cda5b76d9cacfc06339f827aaa6961b3a13d8 100644 (file)
@@ -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)