summaryrefslogtreecommitdiff
path: root/src/basic/alloc-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-15 10:26:10 +0200
committerGitHub <noreply@github.com>2021-10-15 10:26:10 +0200
commit0a51337df1b40a0799bb17fb4bf95332e0652f28 (patch)
treeb854beb4ab940a6266f9e481f881eb4b4ad1e382 /src/basic/alloc-util.h
parent0bb6699edc8040d4c8ee667ae94bb6ae46869baf (diff)
parentdc4679283153463f81ba3f96f80960bb2c476378 (diff)
downloadsystemd-0a51337df1b40a0799bb17fb4bf95332e0652f28.tar.gz
Merge pull request #20983 from mxre/feature/aarch64
[sd-stub] Add support for aarch64 booting via pe-entry point
Diffstat (limited to 'src/basic/alloc-util.h')
-rw-r--r--src/basic/alloc-util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h
index 976d86f238..65d5175619 100644
--- a/src/basic/alloc-util.h
+++ b/src/basic/alloc-util.h
@@ -49,12 +49,6 @@ typedef void (*free_func_t)(void *p);
#define malloc0(n) (calloc(1, (n) ?: 1))
-#define mfree(memory) \
- ({ \
- free(memory); \
- (typeof(memory)) NULL; \
- })
-
#define free_and_replace(a, b) \
({ \
typeof(a)* _a = &(a); \