linux/drivers/isdn
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
..
act2000 Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
capi tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
divert headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
gigaset gigaset: don't enable any debugging output by default 2009-12-08 20:30:41 -08:00
hardware drivers/isdn: eliminate duplicated test 2010-01-03 21:25:54 -08:00
hisax Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
hysdn Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
i4l Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
icn Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
isdnloop drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
mISDN mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion 2009-12-18 20:30:11 -08:00
pcbit Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
sc Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
Makefile mISDN fix main ISDN Makefile 2008-08-02 16:28:20 +02:00