From e969dea3b78c556e68b5078c97efc1639709d6d7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 5 Feb 2021 09:20:58 +0530 Subject: [PATCH] Remove unused function --- kitty/graphics.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kitty/graphics.c b/kitty/graphics.c index c6850ee18..23573d2fd 100644 --- a/kitty/graphics.c +++ b/kitty/graphics.c @@ -46,12 +46,6 @@ remove_from_cache(GraphicsManager *self, const ImageAndFrame x) { return remove_from_disk_cache(self->disk_cache, CK(x)); } -static inline PyObject* -read_from_cache_python(const GraphicsManager *self, const ImageAndFrame x) { - char key[CACHE_KEY_BUFFER_SIZE]; - return read_from_disk_cache_python(self->disk_cache, CK(x)); -} - static inline bool read_from_cache(const GraphicsManager *self, const ImageAndFrame x, void **data, size_t *sz) { char key[CACHE_KEY_BUFFER_SIZE];