diff options
author | Pavel Simerda <psimerda@redhat.com> | 2013-12-02 20:23:13 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-02 20:23:13 +0530 |
commit | 639a0ef8aba38b3ba1628d539fa95078132bca8a (patch) | |
tree | 569ddf9679126469829437f3f8c4051b5b5b9f62 /sunrpc | |
parent | f524d6a8e41a6baae75bc3b400374fb3367c111a (diff) | |
download | glibc-639a0ef8aba38b3ba1628d539fa95078132bca8a.zip glibc-639a0ef8aba38b3ba1628d539fa95078132bca8a.tar.gz glibc-639a0ef8aba38b3ba1628d539fa95078132bca8a.tar.bz2 |
Remove redundant GAIH_OKIFUNSPEC and GAIH_EAI.
Only gaih_inet() and gaih_inet_serv() use a special bit flag denoted
by the GAIH_OKIFUNSPEC macro. Only the return value of
gaih_inet_serv() is actively checked for the bit flag which is
redundant because it just copies the nonzero property of the value
otherwise returned. The return value of gaih_inet() is only checked
for being zero and then the bit flag is filtered out. As the bit flag
is set only for otherwise nonzero return values, it doesn't affect the
zero comparison. GAIH_EAI just an alias to ~GAIH_OKIFUNSPEC.
Diffstat (limited to 'sunrpc')
0 files changed, 0 insertions, 0 deletions