From 0398b34370f9a6d739e0101378770c7d592a4806 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 10 Aug 2023 21:49:19 -0400 Subject: fssystem: reduce overalignment of unbuffered storage operations --- .../file_sys/fssystem/fssystem_integrity_verification_storage.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp') diff --git a/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp index ef36b755e..0dba0c8d9 100644 --- a/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp +++ b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp @@ -48,10 +48,6 @@ void IntegrityVerificationStorage::Finalize() { } size_t IntegrityVerificationStorage::Read(u8* buffer, size_t size, size_t offset) const { - // Validate preconditions. - ASSERT(Common::IsAligned(offset, static_cast(m_verification_block_size))); - ASSERT(Common::IsAligned(size, static_cast(m_verification_block_size))); - // Succeed if zero size. if (size == 0) { return size; -- cgit v1.2.3