From: Julia Lawall Date: Sat, 28 Aug 2010 15:41:00 +0000 (+0200) Subject: staging: rtl8193*: Remove double test X-Git-Tag: v2.6.37-rc1~60^2~3^2~737 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4498dbcd2d85b67e9f46790bcfee5860d2dd1762;p=pandora-kernel.git staging: rtl8193*: Remove double test The 1 element of the array is tested twice. Change the code so that the remaining 3 element of the array is tested instead of testing the 1 element a second time. The sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @expression@ expression E; @@ ( * E || ... || E | * E && ... && E ) // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed