From 0e3a420737d9733f04a65bce1bc48f12e394039e Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 13 Jun 2013 12:11:49 +0000 Subject: Remove pointless instruction in the memcpy path that snuck in with the previous commit. ok deraadt@ --- sys/lib/libkern/arch/amd64/memmove.S | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/lib/libkern') diff --git a/sys/lib/libkern/arch/amd64/memmove.S b/sys/lib/libkern/arch/amd64/memmove.S index 8f239611686..cf81c4c3880 100644 --- a/sys/lib/libkern/arch/amd64/memmove.S +++ b/sys/lib/libkern/arch/amd64/memmove.S @@ -40,11 +40,9 @@ * ws@tools.de (Wolfgang Solfrank, TooLs GmbH) +49-228-985800 */ - ENTRY(memcpy) movq %rdi,%r11 /* save dest */ movq %rdx,%rcx - movq %rdi,%rax jmp 2f /* jump to forward copy code path */ ENTRY(bcopy) -- cgit v1.2.3-59-g8ed1b