Remove unused clear_pht_entry_from_index macro
authorIvan Maidanski <ivmai@mail.ru>
Sat, 22 Sep 2018 12:59:42 +0000 (15:59 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 22 Sep 2018 12:59:42 +0000 (15:59 +0300)
(code refactoring)

* include/private/gc_priv.h (clear_pht_entry_from_index): Remove macro.

include/private/gc_priv.h

index 4f2d308..1b6a992 100644 (file)
@@ -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) \