summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/tools.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 3d22d4d17..26d92d3e7 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -270,8 +270,6 @@ enum return_type load_ramdisk(void)
void * memdup(void *src, size_t size)
{
void * r;
- if (size < 8)
- size = 16;
r = malloc(size);
memcpy(r, src, size);
return r;