Remove unused function

This commit is contained in:
Kovid Goyal 2021-02-05 09:20:58 +05:30
parent 89b4f59efa
commit e969dea3b7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -46,12 +46,6 @@ remove_from_cache(GraphicsManager *self, const ImageAndFrame x) {
return remove_from_disk_cache(self->disk_cache, CK(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 static inline bool
read_from_cache(const GraphicsManager *self, const ImageAndFrame x, void **data, size_t *sz) { read_from_cache(const GraphicsManager *self, const ImageAndFrame x, void **data, size_t *sz) {
char key[CACHE_KEY_BUFFER_SIZE]; char key[CACHE_KEY_BUFFER_SIZE];