summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_shared_alloc.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-09-26 21:50:27 +0200
committerAnatol Belski <ab@php.net>2014-09-26 21:50:27 +0200
commited6f24b92e77881129d13a95bdd93a3b77e91153 (patch)
treeef303603bae7da11b4ef29500edeafda6fd76b1b /ext/opcache/zend_shared_alloc.c
parent8a7c8d2213c4256c2cbb3118f63c34fd795046b1 (diff)
downloadphp-git-ed6f24b92e77881129d13a95bdd93a3b77e91153.tar.gz
cleanup TSRMLS_FETCH in ext/opcache
Diffstat (limited to 'ext/opcache/zend_shared_alloc.c')
-rw-r--r--ext/opcache/zend_shared_alloc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c
index 981829f5b7..9ecb2a0eae 100644
--- a/ext/opcache/zend_shared_alloc.c
+++ b/ext/opcache/zend_shared_alloc.c
@@ -157,8 +157,6 @@ int zend_shared_alloc_startup(size_t requested_size)
const zend_shared_memory_handler_entry *he;
int res = ALLOC_FAILURE;
- TSRMLS_FETCH();
-
/* shared_free must be valid before we call zend_shared_alloc()
* - make it temporarily point to a local variable
*/
@@ -298,7 +296,6 @@ void *zend_shared_alloc(size_t size)
{
int i;
unsigned int block_size = ZEND_ALIGNED_SIZE(size);
- TSRMLS_FETCH();
#if 1
if (!ZCG(locked)) {