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


Comments

Popular posts from this blog

Buffalo WZR-1750DHP + OpenWRT

How to tell rpmbuild the number of simultaneous jobs? (make -j)

Adding a serial console to the Buffalo Air Station WZR-1750DHP