summaryrefslogtreecommitdiff
path: root/mysys/lf_alloc-pin.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-06-24 20:56:55 +0200
committerSergei Golubchik <sergii@pisem.net>2013-06-24 20:56:55 +0200
commit639baee61bdfefe124414db6b12d40061a086e5b (patch)
tree4ed7af579f6b5e0a05d3f7783382460d384c7e2b /mysys/lf_alloc-pin.c
parent31a1934c9cc0c4781b4a8c30f60252b02a873a2a (diff)
downloadmariadb-git-639baee61bdfefe124414db6b12d40061a086e5b.tar.gz
cleanup: remove LF_REQUIRE_PINS, use compile_time_assert() instead of reimplementing it
Diffstat (limited to 'mysys/lf_alloc-pin.c')
-rw-r--r--mysys/lf_alloc-pin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/lf_alloc-pin.c b/mysys/lf_alloc-pin.c
index 6ab6ba3aae0..88d5382947f 100644
--- a/mysys/lf_alloc-pin.c
+++ b/mysys/lf_alloc-pin.c
@@ -412,8 +412,6 @@ found:
/* lock-free memory allocator for fixed-size objects */
-LF_REQUIRE_PINS(1)
-
/*
callback for _lf_pinbox_real_free to free a list of unpinned objects -
add it back to the allocator stack