git: <sys/fnv_hash.h>: Remove unused fnv_64*() inline functions.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Sep 9 21:05:49 PDT 2019


commit 2770d3b4871e854523e8d324af48166d2d363561
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Aug 31 14:58:37 2019 +0300

    <sys/fnv_hash.h>: Remove unused fnv_64*() inline functions.
    
     Unused in base (neither OpenBSD or NetBSD has this header).  Once needed
     64 variants can be added from www.isthe.com/chongo/src/fnv/hash_64.c
     For now keep fnv_32_str() inline, but disable it.  It could be used in
     several kernel places instead of fnv_32_buf().  The smbfs_hash() in
     sys/vfs/smbfs/smbfs_node.c could be adjusted to use <sys/fnv_hash.h>.
    
     Reduces kernel.stripped size by 72 bytes.

Summary of changes:
 sys/sys/fnv_hash.h | 34 ++++------------------------------
 1 file changed, 4 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2770d3b4871e854523e8d324af48166d2d363561


-- 
DragonFly BSD source repository


More information about the Commits mailing list