summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJianyun Gao <jianyungao89@gmail.com>2026-07-17 16:38:56 +0800
committerMikulas Patocka <mpatocka@redhat.com>2026-07-20 15:44:29 +0200
commita46fd918f7907ecdfd1b1d03210463eef80f0def (patch)
tree725d6ce0e001457f25bd7cae1f5faf73fadbbbb5 /tools/perf/scripts/python/task-analyzer.py
parent8765dcb96f00b65de4a59b29c25fed5d8b3cedf1 (diff)
dm-pcache: remove unused 'allocated' variable in cache_data_alloc()
The 'allocated' variable is never non-zero when its value is consumed. 'to_alloc' was always equal to key->len, so replace them with key->len directly. Signed-off-by: Jianyun Gao <jianyungao89@gmail.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions