summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-17 11:03:37 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-17 12:03:18 +0200
commitad458524b3fa2cef0b322984591bbdfd527367c3 (patch)
treebd82cbb9d15a6901b18b2f826165ce2661c2f9d1 /tools/perf/scripts/python/export-to-sqlite.py
parent37b288f54bb9acb42bf384d92f7c95d8bad45ca8 (diff)
media: vidtv: cleanup the logic which estimates buffer size
There's no need to use u64 over there. In a matter of fact, the div is not even needed, as it is multiplying by 1000 and dividing by 1000. So, simplify the logic. While here, constrain the buffer size to a certain range (between the current value and 10 times it) Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions