diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2012-12-08 15:34:34 -0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-01-24 12:10:38 +0100 |
commit | 7320bfa7cfe31e9ee95a40ab8e52648066284141 (patch) | |
tree | 6ecc0024f3b07746848ddfe5dbfdd7299bbace49 /scripts/package/mkspec | |
parent | 9f14b4201239a9779d52bdd6137583d452b38ec3 (diff) |
scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test
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>
Diffstat (limited to 'scripts/package/mkspec')
0 files changed, 0 insertions, 0 deletions