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:
parent
1f76872c36
commit
0eafa7078f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321206
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user