From 5bce004d84da43ee6453fc80b1695e8126d53080 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 7 Jun 2019 19:32:12 +0200 Subject: Kernel: The kernel will never call mmx_memcpy() so prune it. --- Kernel/StdLib.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Kernel') diff --git a/Kernel/StdLib.cpp b/Kernel/StdLib.cpp index 25670a0e47..e146d643ee 100644 --- a/Kernel/StdLib.cpp +++ b/Kernel/StdLib.cpp @@ -1,5 +1,4 @@ #include -#include #include #include @@ -7,11 +6,6 @@ extern "C" { void* memcpy(void* dest_ptr, const void* src_ptr, size_t n) { -#ifndef KERNEL - if (n >= 1024) - return mmx_memcpy(dest_ptr, src_ptr, n); -#endif - size_t dest = (size_t)dest_ptr; size_t src = (size_t)src_ptr; // FIXME: Support starting at an unaligned address. -- cgit v1.2.3