diff options
author | Matthew Ahrens <[email protected]> | 2020-07-30 13:46:32 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-08-05 10:27:56 -0700 |
commit | d519c10575602952258f7e9e300af79a2b04d801 (patch) | |
tree | 58e13ec91843c3f480d440e49a892668ba56b2ca /include/os/linux | |
parent | f68af67a0ce07e3f1035792d243978dca9257de6 (diff) |
Remove KMC_NOHASH
Remove dead code to make the implementation easier to understand.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Ahrens <[email protected]>
Closes #10650
Diffstat (limited to 'include/os/linux')
-rw-r--r-- | include/os/linux/spl/sys/kmem_cache.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/os/linux/spl/sys/kmem_cache.h b/include/os/linux/spl/sys/kmem_cache.h index ca1fdeda4..f152f6263 100644 --- a/include/os/linux/spl/sys/kmem_cache.h +++ b/include/os/linux/spl/sys/kmem_cache.h @@ -38,7 +38,6 @@ typedef enum kmc_bit { KMC_BIT_NODEBUG = 1, /* Default behavior */ KMC_BIT_NOMAGAZINE = 2, /* XXX: Unsupported */ - KMC_BIT_NOHASH = 3, /* XXX: Unsupported */ KMC_BIT_QCACHE = 4, /* XXX: Unsupported */ KMC_BIT_KMEM = 5, /* Use kmem cache */ KMC_BIT_VMEM = 6, /* Use vmem cache */ @@ -64,7 +63,6 @@ typedef enum kmem_cbrc { #define KMC_NODEBUG (1 << KMC_BIT_NODEBUG) #define KMC_NOMAGAZINE (1 << KMC_BIT_NOMAGAZINE) -#define KMC_NOHASH (1 << KMC_BIT_NOHASH) #define KMC_QCACHE (1 << KMC_BIT_QCACHE) #define KMC_KMEM (1 << KMC_BIT_KMEM) #define KMC_VMEM (1 << KMC_BIT_VMEM) |