]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/safe_close-no-if.cocci
network: add missing entry in serialization/deserialization
[thirdparty/systemd.git] / coccinelle / safe_close-no-if.cocci
1 @@
2 expression fd;
3 @@
4 - if (fd >= 0) {
5 - fd = safe_close(fd);
6 - }
7 + fd = safe_close(fd);