summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-26 23:41:50 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-27 08:15:18 -0400
commit9d08ba6de0c52d87b1f9619df3f6faacde2134b7 (patch)
tree4437c69fe80ae2b46513be527fe833cfff3c8e9e /tools/perf/scripts/python
parentdddaf754cb3af9fe779be1f6e117dc76e36cfdc2 (diff)
downloadlinux-9d08ba6de0c52d87b1f9619df3f6faacde2134b7.tar.gz
linux-9d08ba6de0c52d87b1f9619df3f6faacde2134b7.zip
media: pci: cx88: Replace mdelay() with msleep() in dvb_register()
dvb_register() 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 <baijiaju1990@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions