RE: [PATCH] arch/arm/mach-s3c24xx/mach-h1940.c: delete double assignment

2012-09-13 Thread kgene
Julia Lawall wrote: > > From: Julia Lawall > > 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/) > > // > @@ > expression i; > @@ > > *i = ...; > i = ...; > // > >

RE: [PATCH] arch/arm/mach-s3c24xx/mach-h1940.c: delete double assignment

2012-09-13 Thread kgene
Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr 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 = ...; //