aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/malloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/malloc.c b/src/malloc.c
index 4653aa8..92265cb 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -23,10 +23,6 @@ int posix_memalign(void **memptr, size_t alignment, size_t size)
{
void *out;
- if(memptr == NULL) {
- return 22;
- }
-
if((alignment % sizeof(void*)) != 0) {
return 22;
}