diff options
| author | Jia-Ju Bai <[email protected]> | 2018-07-27 16:45:35 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-07-31 10:25:33 +0300 |
| commit | 5685bee313e9e8577faebcb349706e299f486db5 (patch) | |
| tree | 9e4a570dd7bbfb0b5568726b54415bab3152d65b /tools/perf/scripts/python/syscall-counts.py | |
| parent | 37a634f60fd6dfbda2c312657eec7ef0750546e7 (diff) | |
atmel: Replace mdelay() with msleep() in probe_atmel_card()
probe_atmel_card() is never called in atomic context.
It calls mdelay() to busily wait, which is not necessary.
mdelay() can be replaced with msleep().
This is found by a static analysis tool named DCNS written by myself.
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions