]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/safe_close-no-if.cocci
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / coccinelle / safe_close-no-if.cocci
CommitLineData
7f6e12b0
LP
1@@
2expression fd;
3@@
4- if (fd >= 0) {
5- fd = safe_close(fd);
6- }
7+ fd = safe_close(fd);