diff options
author | 2018-07-30 21:42:56 +0800 | |
---|---|---|
committer | 2018-10-01 12:17:02 +0200 | |
commit | 1b22dcf6b33ace39c11a2832260d499d020c3d55 (patch) | |
tree | 094d179ba364b54ba758a9510eb40dc2a1768616 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pcmcia: add error handling for pcmcia_enable_device in qlogic_stub (diff) | |
download | wireguard-linux-1b22dcf6b33ace39c11a2832260d499d020c3d55.tar.xz wireguard-linux-1b22dcf6b33ace39c11a2832260d499d020c3d55.zip |
pcmcia: pcmcia_resource: Replace mdelay() with msleep()
pcmcia_fixup_iowidth() and pcmcia_enable_device() 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 <baijiaju1990@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions