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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209175

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);
}