remove redundant code in do_dlsym function
authorRich Felker <dalias@aerifal.cx>
Tue, 21 Apr 2015 17:07:06 +0000 (13:07 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 21 Apr 2015 17:07:06 +0000 (13:07 -0400)
commit97b72d22ad53e8f1306bf8e943571b698058f49d
treed4bd860a6f19a339fda566bca0f04dd523a55b72
parent4bf10ebf66e0c675c549032fc72915beb92d1312
remove redundant code in do_dlsym function

commit 637dd2d383cc1f63bf02a732f03786857b22c7bd introduced the checks
for RTLD_DEFAULT and RTLD_NEXT here, claiming they fixed a regression,
but the above conditional block clearly already covered these cases,
and removing the checks produces no difference in the generated code.
src/ldso/dynlink.c