From: Julia Lawall Date: Sat, 28 Aug 2010 05:41:02 +0000 (+0000) Subject: drivers/net/atl1c: Remove double test X-Git-Tag: v2.6.37-rc1~147^2~639 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bc9e234658072145b63d1d364bac4c8e337c865;p=pandora-kernel.git drivers/net/atl1c: Remove double test The nic_type field is compared to athr_l2c twice. 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: David S. Miller --- Reading git-diff-tree failed