summaryrefslogtreecommitdiffstats
path: root/client/x11
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-22 13:31:34 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commit1caee1f21691e954c96fa31ba7c9baf97d896784 (patch)
tree317b758569b6c1f9c8d54c3fc7a3726fa8164e1f /client/x11
parent172edf298fa75fd85ed70751c81ec297e7ed0324 (diff)
downloadspice-1caee1f21691e954c96fa31ba7c9baf97d896784.tar.gz
spice-1caee1f21691e954c96fa31ba7c9baf97d896784.tar.xz
spice-1caee1f21691e954c96fa31ba7c9baf97d896784.zip
client: remove unused mb() macro
Diffstat (limited to 'client/x11')
-rw-r--r--client/x11/platform_utils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/x11/platform_utils.h b/client/x11/platform_utils.h
index 3423b2a1..d574e217 100644
--- a/client/x11/platform_utils.h
+++ b/client/x11/platform_utils.h
@@ -24,12 +24,6 @@
#include <netinet/tcp.h>
#include <netdb.h>
-#ifdef __i386__
-#define mb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)" : : : "memory")
-#else
-#define mb() __asm__ __volatile__ ("lock; addl $0,0(%%rsp)" : : : "memory")
-#endif
-
typedef int SOCKET;
#define INVALID_SOCKET -1