wingo pushed a commit to branch wip-whippet
in repository guile.

commit 5ba0aec869b2a162b4197325ee03110efe02ba98
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Sun Dec 10 22:08:05 2023 +0100

    Remove unused function
---
 api/gc-histogram.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/api/gc-histogram.h b/api/gc-histogram.h
index be5702e5c..0761a630f 100644
--- a/api/gc-histogram.h
+++ b/api/gc-histogram.h
@@ -30,13 +30,6 @@ static inline uint64_t gc_histogram_bucket_min_val(uint64_t 
precision,
   return min_val;
 }
 
-static inline void gc_histogram_record(uint32_t *buckets,
-                                       uint64_t max_value_bits,
-                                       uint64_t precision,
-                                       uint64_t val) {
-  buckets[gc_histogram_bucket(max_value_bits, precision, val)]++;
-}
-
 #define GC_DEFINE_HISTOGRAM(name, max_value_bits, precision)            \
   struct name { uint32_t buckets[((max_value_bits) << (precision)) + 1]; }; \
   static inline size_t name##_size(void) {                              \

Reply via email to