servicers/fs: Remove redundant conditional in FSUSER_OpenArchive()

This is already checked against at the beginning of the function.
This commit is contained in:
Lioncash 2019-11-22 13:48:00 -05:00 committed by Dave Murphy
parent 6bca5af849
commit 0e4d8fbd05

View File

@ -394,7 +394,7 @@ Result FSUSER_OpenArchive(FS_Archive* archive, FS_ArchiveID id, FS_Path path)
Result ret = 0;
if(R_FAILED(ret = svcSendSyncRequest(fsSession()))) return ret;
if(archive) *archive = cmdbuf[2] | ((u64) cmdbuf[3] << 32);
*archive = cmdbuf[2] | ((u64) cmdbuf[3] << 32);
return cmdbuf[1];
}