]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: S3C24xx: delete double assignment
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 13 Sep 2012 07:01:09 +0000 (16:01 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 18 Sep 2012 01:03:35 +0000 (10:03 +0900)
commit5c87e583607290b376fa4c0c3928b511a644f716
tree49476ffe7544797e4f64eb3dcefb1816311c0ec6
parentabab4dccbd893930e0ce899d5b426256efebfc9b
ARM: S3C24xx: delete double assignment

Delete successive assignments to the same location.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression i;
@@

*i = ...;
 i = ...;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/mach-h1940.c