diff --git a/hw/xfree86/x86emu/sys.c b/hw/xfree86/x86emu/sys.c index 6a648bf39..d3fffa5cf 100644 --- a/hw/xfree86/x86emu/sys.c +++ b/hw/xfree86/x86emu/sys.c @@ -65,14 +65,6 @@ struct __una_u16 { /* Elemental unaligned loads */ -static __inline__ u64 -ldq_u(u64 * p) -{ - const struct __una_u64 *ptr = (const struct __una_u64 *) p; - - return ptr->x; -} - static __inline__ u32 ldl_u(u32 * p) { @@ -116,15 +108,6 @@ stw_u(u16 val, u16 * p) } #else /* !__GNUC__ */ -static __inline__ u64 -ldq_u(u64 * p) -{ - u64 ret; - - memmove(&ret, p, sizeof(*p)); - return ret; -} - static __inline__ u32 ldl_u(u32 * p) {