git: sys/vfs/hammer2: Remove unused local variables in hammer2_primary_xops_thread()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Jul 26 22:51:28 PDT 2022


commit 73503323eb8a1c4cc230060fc9333baa056b84ed
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Tue Jul 26 22:37:33 2022 -0700

    sys/vfs/hammer2: Remove unused local variables in hammer2_primary_xops_thread()
    
    pmp was unused since 21a904588eeea78c4050292c4c477f008a38784f in 2015.
    last_desc was never used since first appeared.
    
    These get warned on other platform.
    error: variable 'pmp' set but not used [-Werror,-Wunused-but-set-variable]
    error: variable 'last_desc' set but not used [-Werror,-Wunused-but-set-variable]

Summary of changes:
 sys/vfs/hammer2/hammer2_admin.c | 6 ------
 1 file changed, 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73503323eb8a1c4cc230060fc9333baa056b84ed


-- 
DragonFly BSD source repository


More information about the Commits mailing list