Re: [PATCH 4/7] MIPS: BCM63xx: delete double assignment

2014-08-25 Thread Jonas Gorski
On Mon, Aug 25, 2014 at 1:27 PM, Ralf Baechle wrote: > On Sat, Aug 23, 2014 at 08:33:25PM +0200, Julia Lawall wrote: > >> Delete successive assignments to the same location. In each case, the >> duplicated assignment is modified to be in line with other nearby code. >> >> A simplified version of

Re: [PATCH 4/7] MIPS: BCM63xx: delete double assignment

2014-08-25 Thread Ralf Baechle
On Sat, Aug 23, 2014 at 08:33:25PM +0200, Julia Lawall wrote: > Delete successive assignments to the same location. In each case, the > duplicated assignment is modified to be in line with other nearby code. > > A simplified version of the semantic match that finds this problem is as > follows:

[PATCH 4/7] MIPS: BCM63xx: delete double assignment

2014-08-23 Thread Julia Lawall
From: Julia Lawall Delete successive assignments to the same location. In each case, the duplicated assignment is modified to be in line with other nearby code. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression i; @