git: sys/vfs/hammer2: Drop redundant H2FMSHIFT() macro

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Aug 13 07:26:41 PDT 2019


commit 4e47c34e2aef5ea5da02eabd92130c37a4ef724f
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Aug 13 01:31:35 2019 +0900

    sys/vfs/hammer2: Drop redundant H2FMSHIFT() macro
    
    Since H2FMSHIFT() is only used with freemap radix levels, it can be
    completely replaced with the existing HAMMER2_FREEMAP_LEVEL*_SIZE.
    This is more readable.

Summary of changes:
 sys/vfs/hammer2/hammer2_bulkfree.c |  2 +-
 sys/vfs/hammer2/hammer2_disk.h     |  1 -
 sys/vfs/hammer2/hammer2_freemap.c  | 25 ++++++++++++-------------
 3 files changed, 13 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e47c34e2aef5ea5da02eabd92130c37a4ef724f


-- 
DragonFly BSD source repository



More information about the Commits mailing list