From: Julia Lawall Date: Tue, 26 Oct 2010 10:25:30 +0000 (+0200) Subject: drivers/staging: delete double assignment X-Git-Tag: v2.6.37-rc2~22^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61241d97db02559bd83d21ffa783ab327945b925;p=pandora-kernel.git drivers/staging: delete double assignment Delete successive assignments to the same location. In three of the cases, the two assignments are identical. In the case of the file rt2860/common/cmm_aes.c, the assigned variable i is never used, so both assignments are dropped. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression i; @@ *i = ...; i = ...; // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed