summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2013-06-13 12:11:49 +0000
committerkettenis <kettenis@openbsd.org>2013-06-13 12:11:49 +0000
commit0e3a420737d9733f04a65bce1bc48f12e394039e (patch)
treefc904601d541bdca7a3a51ff98b1b4a4fd9c01bb /sys/lib/libkern
parentovbcopy begone (diff)
downloadwireguard-openbsd-0e3a420737d9733f04a65bce1bc48f12e394039e.tar.xz
wireguard-openbsd-0e3a420737d9733f04a65bce1bc48f12e394039e.zip
Remove pointless instruction in the memcpy path that snuck in with the
previous commit. ok deraadt@
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r--sys/lib/libkern/arch/amd64/memmove.S2
1 files changed, 0 insertions, 2 deletions
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)