From 7463825331b4b73940a106ba4f4d65ec1a5ee075 Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 24 May 2016 18:53:06 +0000 Subject: [PATCH] Remove redundant NULLing of outbuf_pmap If reallocf ever failed, outbuf_pmap would already be NULL MFC after: 1 week X-MFC with: r300620 Reported by: cem Sponsored by: EMC / Isilon Storage Division --- lib/libc/rpc/clnt_bcast.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c index 33dc0c84a979..669de8aae3c9 100644 --- a/lib/libc/rpc/clnt_bcast.c +++ b/lib/libc/rpc/clnt_bcast.c @@ -348,7 +348,6 @@ rpc_broadcast_exp(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, udpbufsz = fdlist[fdlistno].dsize; outbuf_pmap = reallocf(outbuf_pmap, udpbufsz); if (outbuf_pmap == NULL) { - outbuf_pmap = NULL; _close(fd); stat = RPC_SYSTEMERROR; goto done_broad;