memory: remove unused macros
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 9 Jul 2012 11:20:30 +0000 (13:20 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 9 Jul 2012 14:28:22 +0000 (16:28 +0200)
gst/gstmemory.c

index a784c92..60e5b90 100644 (file)
@@ -107,13 +107,6 @@ static GstAllocator *_default_allocator;
 /* our predefined allocators */
 static GstAllocator *_default_mem_impl;
 
-#define SHARE_ONE (1 << 16)
-#define SHARE_MASK (~(SHARE_ONE - 1))
-#define LOCK_ONE (GST_LOCK_FLAG_LAST)
-#define FLAG_MASK (GST_LOCK_FLAG_LAST - 1)
-#define LOCK_MASK ((SHARE_ONE - 1) - FLAG_MASK)
-#define LOCK_FLAG_MASK (SHARE_ONE - 1)
-
 static GstMemory *
 _gst_memory_copy (GstMemory * mem)
 {