mirror of
https://github.com/X11Libre/xf86-video-qxl.git
synced 2026-03-24 01:24:24 +00:00
spiceqxl: Remove an unused macro
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
This commit is contained in:
committed by
Jonathon Jongsma
parent
9739b6a604
commit
4d7160c496
@@ -44,17 +44,6 @@
|
||||
ret = &m_item->el; \
|
||||
}
|
||||
|
||||
#undef SPICE_RING_CONS_ITEM
|
||||
#define SPICE_RING_CONS_ITEM(r, ret) { \
|
||||
typeof(r) start = r; \
|
||||
typeof(r) end = r + 1; \
|
||||
uint32_t cons = (r)->cons & SPICE_RING_INDEX_MASK(r); \
|
||||
typeof(&(r)->items[cons]) m_item = &(r)->items[cons]; \
|
||||
if (!((uint8_t*)m_item >= (uint8_t*)(start) && (uint8_t*)(m_item + 1) <= (uint8_t*)(end))) { \
|
||||
abort(); \
|
||||
} \
|
||||
ret = &m_item->el; \
|
||||
}
|
||||
|
||||
static int spiceqxl_io_port_debug_level = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user