[USETUP][EXT2LIB] NtWriteFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0. CORE-13910

This commit is contained in:
Serge Gautherie 2017-11-03 18:19:00 +01:00 committed by Thomas Faber
parent c72066f87f
commit f0e6c11bba
No known key found for this signature in database
GPG Key ID: 076E7C3D44720826
2 changed files with 2 additions and 4 deletions

View File

@ -941,7 +941,6 @@ InstallFat16BootCodeToFile(
return Status;
}
FileOffset.QuadPart = 0ULL;
Status = NtWriteFile(FileHandle,
NULL,
NULL,
@ -1102,7 +1101,6 @@ InstallFat32BootCodeToFile(
return Status;
}
FileOffset.QuadPart = 0ULL;
Status = NtWriteFile(FileHandle,
NULL,
NULL,

View File

@ -1077,7 +1077,7 @@ Ext2WriteDisk( PEXT2_FILESYS Ext2Sys,
Address.QuadPart = Offset;
Status = NtWriteFile( Ext2Sys->MediaHandle,
0,
NULL,
NULL,
NULL,
&IoStatus,
@ -1125,7 +1125,7 @@ Ext2WriteDisk( PEXT2_FILESYS Ext2Sys,
Buffer, Length );
Status = NtWriteFile( Ext2Sys->MediaHandle,
0,
NULL,
NULL,
NULL,
&IoStatus,