git: sys/vfs/hammer2: Remove redundant NULL chain test in bulkfree

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon May 15 23:19:58 PDT 2023


commit f517f709f21348856007372e7fd0183c8378e253
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Mon May 15 22:10:21 2023 -0700

    sys/vfs/hammer2: Remove redundant NULL chain test in bulkfree
    
    chain is never NULL at this point (see right above this),
    and there are chain dereferences without test after this as well.

Summary of changes:
 sys/vfs/hammer2/hammer2_bulkfree.c | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f517f709f21348856007372e7fd0183c8378e253


-- 
DragonFly BSD source repository


More information about the Commits mailing list