Eliminate dead code.

Found by:	Coverity Prevent
CID:		5158
MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2010-06-14 21:01:13 +00:00
parent c977e11721
commit a58b195e35

View File

@ -329,9 +329,7 @@ hast_proto_recv_hdr(struct proto_conn *conn, struct nv **nvp)
*nvp = nv;
return (0);
fail:
if (nv != NULL)
nv_free(nv);
else if (eb != NULL)
if (eb != NULL)
ebuf_free(eb);
return (-1);
}