diff options
| author | Jia-Ju Bai <[email protected]> | 2018-07-27 16:01:41 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-27 13:45:14 -0700 |
| commit | 89036f233a45d8d17c2de94850bd5e63f185da3d (patch) | |
| tree | bf49c657c4a5a668f2a1a0f92cd6aa7bf1e3f03d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 2bcd619e6e7b992ddaa1caaeafd3eea6990de75c (diff) | |
net: hisilicon: hns: Replace mdelay() with msleep()
hns_ppe_common_init_hw() and hns_xgmac_init() are never
called in atomic context.
They call 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/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions