drivers/ata/pata_octeon_cf.c: delete double assignment
authorJulia Lawall <julia@diku.dk>
Tue, 26 Oct 2010 10:25:43 +0000 (12:25 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 12 Nov 2010 22:10:55 +0000 (17:10 -0500)
commitf2543790875b088e2a58aa12ee1ac20a75d6126d
treeaa007a260b311f2e8f8c815bf9981622a708fecb
parentf60215a1302f03ad435f8365c0dd85bdb022cac3
drivers/ata/pata_octeon_cf.c: 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@diku.dk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_octeon_cf.c