Wednesday, November 22, 2017

Want to send some patches to the Linux kernel? I used Coccinelle to find then and else statements that are identical. Coccinelle found 80 candidates. The output is here, and the Coccinelle script I used:

@@
statement S;
@@
-if (...)
- S
-else
- S
+ S


No comments:

Post a Comment