Add scripts/coccinelle/alloc/drop_kmalloc_cast.cocci
authorNicolas Palix <npalix@diku.dk>
Sun, 6 Jun 2010 15:15:03 +0000 (17:15 +0200)
committerMichal Marek <mmarek@suse.cz>
Fri, 11 Jun 2010 22:00:29 +0000 (00:00 +0200)
commit51169c801518bf0a250f208362593e7250e7d2c1
tree39a315040e38eb926bcf94ae783a220281a04bdd
parente228b1e6513b43b837ceff7256ae02e9ada619fa
Add scripts/coccinelle/alloc/drop_kmalloc_cast.cocci

The purpose of this semantic patch is to remove
useless casts, as mentioned in the Linux documentation.
See Chapter 14 in Documentation/CodingStyle for more information.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/alloc/drop_kmalloc_cast.cocci [new file with mode: 0644]