From: Julia Lawall Date: Mon, 21 Dec 2009 14:25:32 +0000 (+0000) Subject: drivers/isdn: eliminate duplicated test X-Git-Tag: v2.6.33-rc4~10^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=073bd90f03d98bc3168865f21573c9b232777c13;p=pandora-kernel.git drivers/isdn: eliminate duplicated test The code checked slot_rx twice. Check slot_tx by analogy with the bank case. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E; @@ ( *E && E | *E || E ) // Signed-off-by: Julia Lawall Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed