diff --git a/amex/ds.c b/amex/ds.c index a56f24d..b54e14a 100644 --- a/amex/ds.c +++ b/amex/ds.c @@ -1,16 +1,6 @@ -#define WIN32_NO_STATUS #include -#undef WIN32_NO_STATUS -#include - -#ifdef __GNUC__ -#include -#else -#include -#endif #include #include -#include #include #include @@ -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; }