git: sys/vfs/hammer: Remove HAMMER_BUFFER_BITS
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:32 PDT 2015
commit 90d23351f480e74e9fc01ee123fd318b45768d31
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sun Sep 6 20:17:33 2015 +0900
sys/vfs/hammer: Remove HAMMER_BUFFER_BITS
This macro is only used by compile time sanity check,
and the check is way too obvious that it can be get rid of.
Hammer code used to use this macro to right-shift offset
(>>14 had meaning in the early stage of hammer devel),
and it made sense to have the compile time sanity check,
but not really when having a way too obvious check is
the only use case.
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 5 -----
1 file changed, 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/90d23351f480e74e9fc01ee123fd318b45768d31
--
DragonFly BSD source repository
More information about the Commits
mailing list