mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 16:10:30 +01:00
xfree86: x86emu: drop unused stq_u()
fix warning on unused function:
> ../hw/xfree86/x86emu/sys.c:87:1: warning: unused function 'stq_u' [-Wunused-function]
> stq_u(u64 val, u64 * p)
> ^
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1428>
(cherry picked from commit a0daa6f1fe)
This commit is contained in:
parent
e1833ecb32
commit
c20195f988
1 changed files with 0 additions and 16 deletions
|
|
@ -83,14 +83,6 @@ ldw_u(u16 * p)
|
|||
|
||||
/* Elemental unaligned stores */
|
||||
|
||||
static __inline__ void
|
||||
stq_u(u64 val, u64 * p)
|
||||
{
|
||||
struct __una_u64 *ptr = (struct __una_u64 *) p;
|
||||
|
||||
ptr->x = val;
|
||||
}
|
||||
|
||||
static __inline__ void
|
||||
stl_u(u32 val, u32 * p)
|
||||
{
|
||||
|
|
@ -126,14 +118,6 @@ ldw_u(u16 * p)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static __inline__ void
|
||||
stq_u(u64 val, u64 * p)
|
||||
{
|
||||
u64 tmp = val;
|
||||
|
||||
memmove(p, &tmp, sizeof(*p));
|
||||
}
|
||||
|
||||
static __inline__ void
|
||||
stl_u(u32 val, u32 * p)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue