amex/ds.c: Remove redundant OVERLAPPED handling

capnhook handles this common case by itself.
This commit is contained in:
Tau 2019-03-16 12:06:07 -04:00
parent 27663b4b19
commit 9924bf6018
1 changed files with 0 additions and 19 deletions

View File

@ -1,16 +1,6 @@
#define WIN32_NO_STATUS
#include <windows.h>
#undef WIN32_NO_STATUS
#include <winternl.h>
#ifdef __GNUC__
#include <ntdef.h>
#else
#include <winnt.h>
#endif
#include <devioctl.h>
#include <ntdddisk.h>
#include <ntstatus.h>
#include <assert.h>
#include <ctype.h>
@ -206,14 +196,5 @@ static HRESULT ds_ioctl_read_sector(struct irp *irp)
iobuf_move(&irp->read, &src);
if (irp->ovl != NULL) {
irp->ovl->Internal = STATUS_SUCCESS;
irp->ovl->InternalHigh = irp->read.pos;
if (irp->ovl->hEvent != NULL) {
SetEvent(irp->ovl->hEvent);
}
}
return S_OK;
}