Updates following feedback on OPENSSL_assert() removal
[openssl.git] / crypto / bio / b_addr.c
index d3b758fc7af2075747d4374beb50cf84f34b6297..d0b2428450c6e6941228e21b34c89b6ac806bff2 100644 (file)
@@ -566,9 +566,6 @@ static int addrinfo_wrap(int family, int socktype,
                          unsigned short port,
                          BIO_ADDRINFO **bai)
 {
-    if (bai == NULL)
-        return 0;
-
     *bai = OPENSSL_zalloc(sizeof(**bai));
     if (*bai == NULL)
         return 0;