diff options
author | Julia Lawall <julia@diku.dk> | 2009-12-21 14:25:32 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-03 21:25:54 -0800 |
commit | 073bd90f03d98bc3168865f21573c9b232777c13 (patch) | |
tree | 86efa3dbae26d7d0694dccb0103d1f2d19cba860 /drivers/net/can | |
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>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions