]> wimlib.net Git - wimlib/commitdiff
lzx_compress.c: remove unused function
authorEric Biggers <ebiggers3@gmail.com>
Thu, 5 Nov 2015 04:29:49 +0000 (22:29 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 7 Nov 2015 21:05:15 +0000 (15:05 -0600)
src/lzx_compress.c

index f6b29b3009686b9eb3e324e1ee24fb542e7f6d8f..1bf1bf0970695382bedbe46f2e113c133f3db80d 100644 (file)
@@ -331,15 +331,6 @@ lzx_lru_queue_push(struct lzx_lru_queue queue, u32 offset)
        };
 }
 
-/* Pop a match offset off the front (most recently used) end of the queue.  */
-static inline u32
-lzx_lru_queue_pop(struct lzx_lru_queue *queue_p)
-{
-       u32 offset = queue_p->R & LZX_QUEUE64_OFFSET_MASK;
-       queue_p->R >>= LZX_QUEUE64_OFFSET_SHIFT;
-       return offset;
-}
-
 /* Swap a match offset to the front of the queue.  */
 static inline struct lzx_lru_queue
 lzx_lru_queue_swap(struct lzx_lru_queue queue, unsigned idx)