From: Julia Lawall Date: Sat, 28 Aug 2010 16:48:56 +0000 (+0200) Subject: USB: gadget: amd5536udc.c: Remove double test X-Git-Tag: v2.6.37-rc1~154^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cf7a6338808d702c256778188516a16805e6145;p=pandora-kernel.git USB: gadget: amd5536udc.c: Remove double test The same expression is tested twice and the result is the same each time. Instead test for use_dma_ppb as in the test above. 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