Commit 4d7160c4 authored by Francois Gouget's avatar Francois Gouget Committed by Jonathon Jongsma

spiceqxl: Remove an unused macro

Signed-off-by: default avatarFrancois Gouget <fgouget@codeweavers.com>
parent 9739b6a6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment