--- src/qxl.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/qxl.h b/src/qxl.h index 7cdf787..585f204 100644 --- a/src/qxl.h +++ b/src/qxl.h @@ -233,18 +233,6 @@ physical_address (qxl_screen_t *qxl, void *virtual, uint8_t slot_id) } static inline void * -virtual_address (qxl_screen_t *qxl, void *physical, uint8_t slot_id) -{ - qxl_memslot_t *p_slot = &(qxl->mem_slots[slot_id]); - unsigned long virt; - - virt = ((unsigned long)physical) & qxl->va_slot_mask; - virt += p_slot->start_virt_addr; - - return (void *)virt; -} - -static inline void * u64_to_pointer (uint64_t u) { return (void *)(unsigned long)u; -- 1.7.9.3
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel