diff options
| author | Julia Lawall <[email protected]> | 2009-12-21 14:25:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-01-03 21:25:54 -0800 |
| commit | 073bd90f03d98bc3168865f21573c9b232777c13 (patch) | |
| tree | 86efa3dbae26d7d0694dccb0103d1f2d19cba860 /tools/perf/scripts/python | |
| 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 <[email protected]>
Cc: Karsten Keil <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions