From: Pierre Schweitzer Date: Mon, 27 Dec 2010 21:38:40 +0000 (+0000) Subject: [FASTFAT] X-Git-Tag: backups/ros-branch-0_3_13@51035~269 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=9670bc63c4941abdc5d30a36ff8867b772e46d54 [FASTFAT] Remove unused vars ~ svn path=/trunk/; revision=50173 --- diff --git a/reactos/drivers/filesystems/fastfat/rw.c b/reactos/drivers/filesystems/fastfat/rw.c index 519ef128e32..bbcae945c83 100644 --- a/reactos/drivers/filesystems/fastfat/rw.c +++ b/reactos/drivers/filesystems/fastfat/rw.c @@ -123,7 +123,6 @@ VfatReadFileData (PVFAT_IRP_CONTEXT IrpContext, PDEVICE_EXTENSION DeviceExt; BOOLEAN First = TRUE; PVFATFCB Fcb; - PVFATCCB Ccb; NTSTATUS Status; ULONG BytesDone; ULONG BytesPerSector; @@ -145,7 +144,6 @@ VfatReadFileData (PVFAT_IRP_CONTEXT IrpContext, *LengthRead = 0; - Ccb = (PVFATCCB)IrpContext->FileObject->FsContext2; Fcb = IrpContext->FileObject->FsContext; BytesPerSector = DeviceExt->FatInfo.BytesPerSector; BytesPerCluster = DeviceExt->FatInfo.BytesPerCluster; @@ -328,7 +326,6 @@ VfatWriteFileData(PVFAT_IRP_CONTEXT IrpContext, { PDEVICE_EXTENSION DeviceExt; PVFATFCB Fcb; - PVFATCCB Ccb; ULONG Count; ULONG FirstCluster; ULONG CurrentCluster; @@ -352,7 +349,6 @@ VfatWriteFileData(PVFAT_IRP_CONTEXT IrpContext, ASSERT(IrpContext->FileObject); ASSERT(IrpContext->FileObject->FsContext2 != NULL); - Ccb = (PVFATCCB)IrpContext->FileObject->FsContext2; Fcb = IrpContext->FileObject->FsContext; BytesPerCluster = DeviceExt->FatInfo.BytesPerCluster; BytesPerSector = DeviceExt->FatInfo.BytesPerSector;