kernel-fxtec-pro1x/drivers/isdn/hardware
Julia Lawall 073bd90f03 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>
2010-01-03 21:25:54 -08:00
..
avm pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
eicon Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
mISDN drivers/isdn: eliminate duplicated test 2010-01-03 21:25:54 -08:00
Kconfig
Makefile