diff --git a/modules/fs/fsw/src/cfe_fs_api.c b/modules/fs/fsw/src/cfe_fs_api.c index 47e19a19c..7bd5afd74 100644 --- a/modules/fs/fsw/src/cfe_fs_api.c +++ b/modules/fs/fsw/src/cfe_fs_api.c @@ -152,11 +152,7 @@ CFE_Status_t CFE_FS_ReadHeader(CFE_FS_Header_t *Hdr, osal_id_t FileDes) /* its standard big-endian format into a little endian format to ease user access */ CFE_FS_ByteSwapCFEHeader(Hdr); } - } - if (OsStatus >= OS_SUCCESS) - { - /* The "OsStatus" reflects size actually read */ Result = (long)OsStatus; } else