[PATCH 0/3] dm-pcache: minor cleanups
[email protected] Fri, 17 Jul 2026 16:38:53 +0800
| Newsgroups | dev.linux.lists.dm-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Jianyun Gao <[email protected]> A few small optimizations for dm-pcache: - Fix ASCII diagram alignment in comments by replacing tabs with spaces - Simplify cache_seg_remain() by removing redundant local variables - Remove unused 'allocated' variable in cache_data_alloc() Jianyun Gao (3): dm-pcache: replace tabs with spaces in comments to fix ASCII diagram alignment dm-pcache: simplify cache_seg_remain() dm-pcache: remove unused 'allocated' variable in cache_data_alloc() drivers/md/dm-pcache/cache.h | 14 +++----------- drivers/md/dm-pcache/cache_key.c | 2 +- drivers/md/dm-pcache/cache_req.c | 19 ++++++++----------- 3 files changed, 12 insertions(+), 23 deletions(-) -- 2.34.1