summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2020-01-28 18:51:53 +0100
committerMichel Dänzer <michel@daenzer.net>2020-11-30 16:22:26 +0000
commitb0530fe42286f340032566ce0bf22a5e9ddfe67f (patch)
tree4b82ce3e0128790ead94828ba35853d72417f1c4 /glx
parent3ce05a44f3d9b114af936f39e3f44552c5bf2c43 (diff)
glx: Remove unused bswap_CARD64
GCC warned about it: ../../../glx/indirect_dispatch_swap.c:85:1: warning: ‘bswap_CARD64’ defined but not used [-Wunused-function] 85 | bswap_CARD64(const void *src) | ^~~~~~~~~~~~
Diffstat (limited to 'glx')
-rw-r--r--glx/indirect_dispatch_swap.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/glx/indirect_dispatch_swap.c b/glx/indirect_dispatch_swap.c
index 7ebcc6330..3eeed00f3 100644
--- a/glx/indirect_dispatch_swap.c
+++ b/glx/indirect_dispatch_swap.c
@@ -81,18 +81,6 @@ bswap_ENUM(const void *src)
return x.ret;
}
-static GLsync
-bswap_CARD64(const void *src)
-{
- union {
- uint64_t dst;
- GLsync ret;
- } x;
-
- x.dst = bswap_64(*(uint64_t *) src);
- return x.ret;
-}
-
static GLdouble
bswap_FLOAT64(const void *src)
{