diff mbox series

[hurd,commited,hurd] Drop spurious #ifdef SHARED

Message ID 20220115132503.235667-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited,hurd] Drop spurious #ifdef SHARED | expand

Commit Message

Samuel Thibault Jan. 15, 2022, 1:25 p.m. UTC
The whole file is already #ifdef SHARED
---
 sysdeps/mach/hurd/dl-sysdep.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 51c7bc3e88..b6256a2c0e 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -105,7 +105,6 @@  _dl_sysdep_start (void **start_argptr,
       DL_SYSDEP_INIT;
 #endif
 
-#ifdef SHARED
 #ifdef DL_PLATFORM_INIT
       DL_PLATFORM_INIT;
 #endif
@@ -113,7 +112,6 @@  _dl_sysdep_start (void **start_argptr,
       /* Determine the length of the platform name.  */
       if (GLRO(dl_platform) != NULL)
 	GLRO(dl_platformlen) = strlen (GLRO(dl_platform));
-#endif
 
       if (_dl_hurd_data->flags & EXEC_STACK_ARGS
 	  && _dl_hurd_data->user_entry == 0)