diff options
| author | Jia-Ju Bai <[email protected]> | 2018-07-27 17:13:17 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-07-30 23:17:53 -0400 |
| commit | dcaa0c12661d862bc533239da22ddf2ed90595e7 (patch) | |
| tree | 6c237a0f7da49f9b7d94373008f931a46b4358f3 /tools/perf/scripts | |
| parent | d6aec1ca7c7c69e5b83b2cb24a57e7860d15507f (diff) | |
scsi: atp870u: Replace mdelay() with msleep()
tscam(), atp870_init(), atp880_init() and atp885_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: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions