mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 4 additions and 9 deletions
|
|
@ -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 a new issue