summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 12:09:13 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-07-31 06:17:53 +0300
commitd6aec1ca7c7c69e5b83b2cb24a57e7860d15507f (patch)
tree98ce6107026b9fc47858e69b47fcb385ae56968e /tools/perf/scripts/python/call-graph-from-sql.py
parent508385001c09ee648c46f3d2bf5584e366007fd7 (diff)
downloadlinux-d6aec1ca7c7c69e5b83b2cb24a57e7860d15507f.tar.xz
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 <baijiaju1990@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions