From feef2fee91d25def1f213cd5156b641abeec8229 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 23 May 2017 11:52:31 +0200 Subject: Windows Driver: remove unused variable. --- src/Driver/Ntdriver.c | 1 - src/Driver/Ntdriver.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index 6a2c4bc8..4f9c94fd 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -725,7 +725,6 @@ NTSTATUS ProcessVolumeDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION outputBuffer->Size = sizeof(STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR); outputBuffer->BytesPerLogicalSector = Extension->BytesPerSector; outputBuffer->BytesPerPhysicalSector = Extension->HostBytesPerPhysicalSector; - outputBuffer->BytesOffsetForSectorAlignment = Extension->BytesOffsetForSectorAlignment; Irp->IoStatus.Status = STATUS_SUCCESS; Irp->IoStatus.Information = sizeof (STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR); } diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h index 2c5f13da..5b52ab04 100644 --- a/src/Driver/Ntdriver.h +++ b/src/Driver/Ntdriver.h @@ -63,7 +63,6 @@ typedef struct EXTENSION uint32 HostBytesPerSector; uint32 HostBytesPerPhysicalSector; - ULONG BytesOffsetForSectorAlignment; KEVENT keVolumeEvent; /* Event structure used when setting up a device */ -- cgit v1.2.3