about summary refs log tree commit diff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2016-12-15 12:17:19 +0100
committerAndreas Schwab <schwab@suse.de>2017-03-14 17:18:52 +0100
commit605c5ef4fb7c9a9bbf225724ef73e6437476fb3c (patch)
tree070972d7ecce77f5ada51736e64956fb94adfe1c /sysdeps/mips
parent9d067269f5c3ecc5913e7e424a4778608d784731 (diff)
downloadglibc-605c5ef4fb7c9a9bbf225724ef73e6437476fb3c.tar.gz
glibc-605c5ef4fb7c9a9bbf225724ef73e6437476fb3c.tar.xz
glibc-605c5ef4fb7c9a9bbf225724ef73e6437476fb3c.zip
Remove _dl_platform_string
There are no non-trivial uses of _dl_platform_string.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/dl-procinfo.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sysdeps/mips/dl-procinfo.h b/sysdeps/mips/dl-procinfo.h
index a0ad27e711..9e6d8e5a40 100644
--- a/sysdeps/mips/dl-procinfo.h
+++ b/sysdeps/mips/dl-procinfo.h
@@ -28,13 +28,6 @@
 
 #define _DL_PLATFORMS_COUNT   4
 
-static inline const char *
-__attribute__ ((unused))
-_dl_platform_string (int idx)
-{
-  return GLRO(dl_mips_platforms)[idx];
-};
-
 static inline int
 __attribute__ ((unused, always_inline))
 _dl_string_platform (const char *str)
@@ -44,7 +37,7 @@ _dl_string_platform (const char *str)
   if (str != NULL)
     for (i = 0; i < _DL_PLATFORMS_COUNT; ++i)
       {
-        if (strcmp (str, _dl_platform_string (i)) == 0)
+        if (strcmp (str, GLRO(dl_mips_platforms)[i]) == 0)
           return i;
       }
   return -1;