diff options
| author | Thomas Gleixner <[email protected]> | 2019-08-02 13:58:40 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2019-08-06 15:43:50 +0300 |
| commit | 6004cf298a4180199dc40bc40466126df8a5a88c (patch) | |
| tree | 51296c805128ab6223ed85f8ff3a1b48cfbc8748 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | 654026df2635863fd695b2ca833e5c62454bd5ee (diff) | |
b43legacy: Remove pointless cond_resched() wrapper
cond_resched() can be used unconditionally. If CONFIG_PREEMPT is set, it
becomes a NOP scheduler wise.
Also the B43_BUG_ON() in that wrapper is a homebrewn variant of
__might_sleep() which is part of cond_resched() already.
Remove the cruft and invoke cond_resched() directly.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Larry Finger <[email protected]>
Tested-by: Larry Finger <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions