summaryrefslogtreecommitdiff
path: root/lib/mesa/src/util/disk_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/util/disk_cache.h')
-rw-r--r--lib/mesa/src/util/disk_cache.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/mesa/src/util/disk_cache.h b/lib/mesa/src/util/disk_cache.h
index 5cb3b6a94..76a46f7ea 100644
--- a/lib/mesa/src/util/disk_cache.h
+++ b/lib/mesa/src/util/disk_cache.h
@@ -79,21 +79,6 @@ struct cache_item_metadata {
struct disk_cache;
-static inline char *
-disk_cache_format_hex_id(char *buf, const uint8_t *hex_id, unsigned size)
-{
- static const char hex_digits[] = "0123456789abcdef";
- unsigned i;
-
- for (i = 0; i < size; i += 2) {
- buf[i] = hex_digits[hex_id[i >> 1] >> 4];
- buf[i + 1] = hex_digits[hex_id[i >> 1] & 0x0f];
- }
- buf[i] = '\0';
-
- return buf;
-}
-
#ifdef HAVE_DLADDR
static inline bool
disk_cache_get_function_timestamp(void *ptr, uint32_t* timestamp)