summaryrefslogtreecommitdiff
path: root/main/datastore.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/datastore.c')
-rw-r--r--main/datastore.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/main/datastore.c b/main/datastore.c
index c2bba4190..e536d601b 100644
--- a/main/datastore.c
+++ b/main/datastore.c
@@ -47,15 +47,9 @@ struct ast_datastore *__ast_datastore_alloc(const struct ast_datastore_info *inf
return NULL;
}
-#if defined(__AST_DEBUG_MALLOC)
if (!(datastore = __ast_calloc(1, sizeof(*datastore), file, line, function))) {
return NULL;
}
-#else
- if (!(datastore = ast_calloc(1, sizeof(*datastore)))) {
- return NULL;
- }
-#endif
datastore->info = info;