diff options
author | Jia-Ju Bai <[email protected]> | 2018-07-27 16:07:38 +0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-08-24 08:52:35 -0700 |
commit | 69a64658de502c8ca383fe2c5a5208f00b5844cd (patch) | |
tree | 8019a3061aa13e6a5d2e8fccd81b44788e8813c4 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 151356270b0761e455ed82bba3353fb494451555 (diff) |
igb: Replace mdelay() with msleep() in igb_integrated_phy_loopback()
igb_integrated_phy_loopback() 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]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions