diff options
| author | Jianyun Gao <jianyungao89@gmail.com> | 2026-07-17 16:38:56 +0800 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-07-20 15:44:29 +0200 |
| commit | a46fd918f7907ecdfd1b1d03210463eef80f0def (patch) | |
| tree | 725d6ce0e001457f25bd7cae1f5faf73fadbbbb5 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 8765dcb96f00b65de4a59b29c25fed5d8b3cedf1 (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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
