[USETUP][ROSAPPS][EXT2LIB] NtReadFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0, Remove casts to same type. CORE-13910

This commit is contained in:
Serge Gautherie 2017-11-01 13:20:14 +01:00 committed by Thomas Faber
parent ba9a1c3abb
commit bcaa33e33b
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
4 changed files with 7 additions and 8 deletions

View file

@ -982,7 +982,7 @@ Ext2ReadDisk( PEXT2_FILESYS Ext2Sys,
Address.QuadPart = Offset;
Status = NtReadFile( Ext2Sys->MediaHandle,
0,
NULL,
NULL,
NULL,
&IoStatus,
@ -1009,7 +1009,7 @@ Ext2ReadDisk( PEXT2_FILESYS Ext2Sys,
}
Status = NtReadFile( Ext2Sys->MediaHandle,
0,
NULL,
NULL,
NULL,
&IoStatus,
@ -1106,7 +1106,7 @@ Ext2WriteDisk( PEXT2_FILESYS Ext2Sys,
if ((AlignedLength != Length) || (Address.QuadPart != (LONGLONG)Offset))
{
Status = NtReadFile( Ext2Sys->MediaHandle,
0,
NULL,
NULL,
NULL,
&IoStatus,