diff options
| author | 2026-07-17 16:38:56 +0800 | |
|---|---|---|
| committer | 2026-07-20 15:44:29 +0200 | |
| commit | a46fd918f7907ecdfd1b1d03210463eef80f0def (patch) | |
| tree | 725d6ce0e001457f25bd7cae1f5faf73fadbbbb5 /scripts | |
| parent | dm-pcache: replace tabs with spaces in comments to fix ASCII diagram alignment (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 'scripts')
0 files changed, 0 insertions, 0 deletions
