]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/import/importd.c
tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`
authorAndreas Rammhold <andreas@rammhold.de>
Fri, 29 Sep 2017 07:58:22 +0000 (09:58 +0200)
committerAndreas Rammhold <andreas@rammhold.de>
Mon, 2 Oct 2017 11:09:56 +0000 (13:09 +0200)
commitec2ce0c5d7623c83dabf50c98253f5b0c0fb1359
tree2be64c5b07a1c2cde8c2244a78b5e4c5e125e4b9
parent3742095b27f8df4b195d530b52d15bc5fea70bf1
tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`

The included cocci was used to generate the changes.

Thanks to @flo-wer for pointing this case out.
24 files changed:
coccinelle/not_in_set.cocci [new file with mode: 0644]
src/basic/rm-rf.c
src/basic/socket-util.c
src/core/audit-fd.c
src/core/automount.c
src/core/killall.c
src/core/manager.c
src/core/path.c
src/core/socket.c
src/core/unit.c
src/import/import-compress.c
src/import/importd.c
src/journal/journal-file.c
src/journal/journal-send.c
src/libsystemd-network/sd-dhcp-client.c
src/login/logind-user.c
src/network/networkd-network.c
src/nss-myhostname/nss-myhostname.c
src/resolve/resolved-dns-stream.c
src/socket-proxy/socket-proxyd.c
src/test/test-cgroup-util.c
src/test/test-execute.c
src/udev/mtd_probe/probe_smartmedia.c
src/udev/udev-builtin-path_id.c