commit | 073bd90f03d98bc3168865f21573c9b232777c13 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Mon Dec 21 14:25:32 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 03 21:25:54 2010 -0800 |
tree | 86efa3dbae26d7d0694dccb0103d1f2d19cba860 | |
parent | 8ffd32083c849dcf476e56e6c5f728c80797ecdd [diff] |
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/) // <smpl> @@ expression E; @@ ( *E && E | *E || E ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>