linux/drivers/isdn/hardware/mISDN
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
..
Kconfig isdn: fix netjet/isdnhdlc build errors 2009-09-28 12:47:36 -07:00
Makefile mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
avmfritz.c mISDN: Driver for AVM Fritz!CARD PCI 2009-07-25 20:19:06 +02:00
hfc_multi.h mISDN: Add XHFC support for embedded Speech-Design board to hfcmulti 2009-05-25 00:55:30 -07:00
hfc_multi_8xx.h mISDN: Add XHFC support for embedded Speech-Design board to hfcmulti 2009-05-25 00:55:30 -07:00
hfc_pci.h mISDN: Add different different timer settings for hfc-pci 2009-01-09 22:44:28 +01:00
hfcmulti.c drivers/isdn: eliminate duplicated test 2010-01-03 21:25:54 -08:00
hfcpci.c mISDN: Make clearing B-channel a common function 2009-07-25 20:18:16 +02:00
hfcsusb.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
hfcsusb.h tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
iohelper.h mISDN: Fix wrong struct name in macro and clarifications 2009-07-27 08:20:55 -07:00
ipac.h mISDN: Fix wrong struct name in macro and clarifications 2009-07-27 08:20:55 -07:00
isar.h mISDN: Fix wrong struct name in macro and clarifications 2009-07-27 08:20:55 -07:00
mISDNinfineon.c mISDN: Add driver for Infineon ISDN chipset family 2009-07-25 20:18:29 +02:00
mISDNipac.c mISDN: Add driver for Infineon ISDN chipset family 2009-07-25 20:18:29 +02:00
mISDNisar.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
netjet.c mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
netjet.h mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
speedfax.c speedfax: declare MODULE_FIRMWARE 2009-11-10 20:30:37 -08:00
w6692.c net: fix multiple definitions of setup_w6692 2009-07-27 08:05:52 -07:00
w6692.h mISDN: Add driver for Winbond cards 2009-07-25 20:21:28 +02:00