From 7305e56195a53958cf3e3f9d3f155048b1446e21 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sat, 22 Sep 2018 15:59:42 +0300 Subject: [PATCH] Remove unused clear_pht_entry_from_index macro (code refactoring) * include/private/gc_priv.h (clear_pht_entry_from_index): Remove macro. --- include/private/gc_priv.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 4f2d3085..1b6a992a 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -961,8 +961,6 @@ typedef word page_hash_table[PHT_SIZE]; (((bl)[divWORDSZ(index)] >> modWORDSZ(index)) & 1) # define set_pht_entry_from_index(bl, index) \ (bl)[divWORDSZ(index)] |= (word)1 << modWORDSZ(index) -# define clear_pht_entry_from_index(bl, index) \ - (bl)[divWORDSZ(index)] &= ~((word)1 << modWORDSZ(index)) /* And a dumb but thread-safe version of set_pht_entry_from_index. */ /* This sets (many) extra bits. */ # define set_pht_entry_from_index_safe(bl, index) \ -- 2.40.0