diff options
| author | Jia-Ju Bai <[email protected]> | 2018-07-27 16:41:04 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-27 13:45:15 -0700 |
| commit | ba23dc642dffd1a97dc08480acc788fdb8632425 (patch) | |
| tree | 091345bd62e495cac2c0d00b81718b5b4920098d /tools/perf/scripts/python | |
| parent | 6dff5add089f2cedd597937a3e39a01ebba8b7c8 (diff) | |
net: usb: sr9700: Replace mdelay() with msleep() in sr9700_bind()
sr9700_bind() 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: Jia-Ju Bai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions