public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [committed, PATCH] x86_64: Remove L(return_null) from rawmemchr.S
@ 2017-05-20 13:16 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2017-05-20 13:16 UTC (permalink / raw)
  To: GNU C Library

L(return_null) is unused.

Tested on x86-64 and checked into master.

H.J.
---
	* sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
---
 ChangeLog                  | 4 ++++
 sysdeps/x86_64/rawmemchr.S | 5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 97b80aa..5e7b766 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
+
 2017-05-20  Zack Weinberg  <zackw@panix.com>
 
 	* sysdeps/arm/sysdep.h
diff --git a/sysdeps/x86_64/rawmemchr.S b/sysdeps/x86_64/rawmemchr.S
index 021a0ae..0405c7b 100644
--- a/sysdeps/x86_64/rawmemchr.S
+++ b/sysdeps/x86_64/rawmemchr.S
@@ -196,11 +196,6 @@ L(matches32):
 	lea	32(%rax, %rdi), %rax
 	ret
 
-	.p2align 4
-L(return_null):
-	xor	%rax, %rax
-	ret
-
 END (__rawmemchr)
 
 weak_alias (__rawmemchr, rawmemchr)
-- 
2.9.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-20 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20 13:16 [committed, PATCH] x86_64: Remove L(return_null) from rawmemchr.S H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).