Remove dead code that was killed by r320975

Reported by:	Coverity
CID:		1377977
MFC after:	15 days
X-MFC-With:	320975
Sponsored by:	Spectra Logic Corp
This commit is contained in:
Alan Somers 2017-07-19 15:22:10 +00:00
parent 1f76872c36
commit 0eafa7078f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321206

View File

@ -158,15 +158,10 @@ poll(struct aiocb *aio)
while ((error = aio_error(aio)) == EINPROGRESS)
usleep(25000);
switch (error) {
case EINPROGRESS:
errno = EINTR;
return (-1);
case 0:
return (aio_return(aio));
default:
return (error);
}
if (error)
return (error);
else
return (aio_return(aio));
}
static void