summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strcmp.c')
-rw-r--r--lib/libc/string/strcmp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/string/strcmp.c b/lib/libc/string/strcmp.c
index 70fd22d..95c778d 100644
--- a/lib/libc/string/strcmp.c
+++ b/lib/libc/string/strcmp.c
@@ -44,9 +44,6 @@ __FBSDID("$FreeBSD$");
int
strcmp(const char *s1, const char *s2)
{
- if (s1 == s2)
- return (0);
-
while (*s1 == *s2++)
if (*s1++ == '\0')
return (0);
OpenPOWER on IntegriCloud