vircommand: Remove unnecessary sa_assert

Changes from commit '3178df9a' removed the need for the sa_assert(infd).
This commit is contained in:
John Ferlan 2013-02-15 09:31:24 -05:00
parent 11a1181260
commit 277aaeeebf

View File

@ -1899,9 +1899,6 @@ virCommandProcessIO(virCommandPtr cmd)
fds[i].fd == cmd->inpipe) {
int done;
/* Coverity 5.3.0 can't see that we only get here if
* infd is in the set because it was non-negative. */
sa_assert(infd != -1);
done = write(cmd->inpipe, cmd->inbuf + inoff,
inlen - inoff);
if (done < 0) {