[PATCH 0/3] dm-pcache: minor cleanups

jianyungao89@gmail.com posted 3 patches 1 week ago
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(-)
[PATCH 0/3] dm-pcache: minor cleanups
Posted by jianyungao89@gmail.com 1 week ago
From: Jianyun Gao <jianyungao89@gmail.com>

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