diff options
| author | Jia-Ju Bai <[email protected]> | 2018-07-27 16:36:29 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-27 13:45:15 -0700 |
| commit | 6dff5add089f2cedd597937a3e39a01ebba8b7c8 (patch) | |
| tree | 5881f53d8180e0d6602bc66e03bece37c50d2f30 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 0df125d05d19ea71678842289647f35cec6d3314 (diff) | |
net: usb: pegasus: Replace mdelay() with msleep() in setup_pegasus_II()
setup_pegasus_II() 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: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions