historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/scripts/coccinelle/error_propagate_null.cocci
2024-01-16 11:20:27 -06:00

10 lines
180 B
Text

// error_propagate() already ignores local_err==NULL, so there's
// no need to check it before calling.
@@
identifier L;
expression E;
@@
-if (L) {
error_propagate(E, L);
-}