archive/iso9660: remove pointless formula

This commit is contained in:
Max Kellermann 2013-11-24 22:49:15 +01:00
parent c95d068ef5
commit 394b1e6351

View File

@ -203,8 +203,6 @@ Iso9660InputStream::Read(void *ptr, size_t size, Error &error)
int no_blocks, cur_block;
size_t left_bytes = statbuf->size - base.offset;
size = (size * ISO_BLOCKSIZE) / ISO_BLOCKSIZE;
if (left_bytes < size) {
no_blocks = CEILING(left_bytes,ISO_BLOCKSIZE);
} else {