There is no need to set td->td_retval[0] to -1 on error.

Confirmed by:	jhb
MFC after:	1 month
This commit is contained in:
pjd 2012-06-13 21:10:00 +00:00
parent d1d32ebbe5
commit 54a86dc320

View File

@ -1250,7 +1250,6 @@ bad_unlocked:
if (indx != -1)
fdclose(fdp, fp, indx, td);
fdrop(fp, td);
td->td_retval[0] = -1;
return (error);
}