aboutsummaryrefslogtreecommitdiffstats
path: root/include/os/linux
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2020-07-30 13:43:18 -0700
committerBrian Behlendorf <[email protected]>2020-08-05 10:27:46 -0700
commitf68af67a0ce07e3f1035792d243978dca9257de6 (patch)
tree07896d4c3a97d7afbc7a60d5e6463e85ff5c8cb6 /include/os/linux
parent492db125dc45e79a2347cd6c277456a846a60509 (diff)
Remove KMC_NOTOUCH
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.h2
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 754d7f460..ca1fdeda4 100644
--- a/include/os/linux/spl/sys/kmem_cache.h
+++ b/include/os/linux/spl/sys/kmem_cache.h
@@ -36,7 +36,6 @@
* destructors which the Linux slab does not.
*/
typedef enum kmc_bit {
- KMC_BIT_NOTOUCH = 0, /* Don't update ages */
KMC_BIT_NODEBUG = 1, /* Default behavior */
KMC_BIT_NOMAGAZINE = 2, /* XXX: Unsupported */
KMC_BIT_NOHASH = 3, /* XXX: Unsupported */
@@ -63,7 +62,6 @@ typedef enum kmem_cbrc {
KMEM_CBRC_DONT_KNOW = 4, /* Object unknown */
} kmem_cbrc_t;
-#define KMC_NOTOUCH (1 << KMC_BIT_NOTOUCH)
#define KMC_NODEBUG (1 << KMC_BIT_NODEBUG)
#define KMC_NOMAGAZINE (1 << KMC_BIT_NOMAGAZINE)
#define KMC_NOHASH (1 << KMC_BIT_NOHASH)