scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test
authorPeter Senna Tschudin <peter.senna@gmail.com>
Sat, 8 Dec 2012 17:34:34 +0000 (15:34 -0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 24 Jan 2013 11:10:38 +0000 (12:10 +0100)
This semantic patch looks for semicolons that can be removed without
changing the semantics of the code. The confidence is moderate
because there are some false positives on cases like:

b/drivers/mmc/host/cb710-mmc.c:589
                break;
        case MMC_POWER_UP:
        default:
-               /* ignore */;
        }

There are 37 patches accepted reported by this semantic patch and
more than 300 fixes to be applied.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found