diff options
Diffstat (limited to 'scripts/coccinelle/remove_muldiv64.cocci')
-rw-r--r-- | scripts/coccinelle/remove_muldiv64.cocci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/coccinelle/remove_muldiv64.cocci b/scripts/coccinelle/remove_muldiv64.cocci new file mode 100644 index 0000000000..4c10bd57dd --- /dev/null +++ b/scripts/coccinelle/remove_muldiv64.cocci @@ -0,0 +1,6 @@ +// replace muldiv64(a, 1, b) by "a / b" +@@ +expression a, b; +@@ +-muldiv64(a, 1, b) ++a / b |