diff options
| author | Davide Libenzi <[email protected]> | 2008-10-15 22:01:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:32 -0700 |
| commit | f337b9c58332bdecde965b436e47ea4c94d30da0 (patch) | |
| tree | 0b630e4cd2cc19f29d56716162defa301f82bf65 /tools/perf/scripts/python | |
| parent | 8b6e47ad062e6ac993fb80256344fc499c1e827b (diff) | |
epoll: drop unnecessary test
Thomas found that there is an unnecessary (always true) test in
ep_send_events(). The callback never inserts into ->rdllink while the
send loop is performed, and also does the ~EP_PRIVATE_BITS test. Given
we're holding the mutex during this time, the conditions tested inside the
loop are always true. This patch drops the test done inside the
re-insertion loop.
Signed-off-by: Davide Libenzi <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions