aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2018-07-27 17:09:13 +0800
committerMartin K. Petersen <[email protected]>2018-07-30 23:17:53 -0400
commitd6aec1ca7c7c69e5b83b2cb24a57e7860d15507f (patch)
tree98ce6107026b9fc47858e69b47fcb385ae56968e /scripts/gdb/linux/clk.py
parent508385001c09ee648c46f3d2bf5584e366007fd7 (diff)
scsi: a100u2w: Replace mdelay() with msleep()
wait_chip_ready() and wait_firmware_ready() are never called in atomic context. They call mdelay() to busy 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 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions