Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6106318c authored by Shaju Mathew's avatar Shaju Mathew Committed by Gerrit Code Review
Browse files

Merge "Removing unused counters." into main

parents 0b50679b c94cf7d4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -468,7 +468,6 @@ private:
                     borrowed_fd incomingFd, bool waitOnEof, std::vector<char>* buffer,
                     std::vector<IncFsDataBlock>* blocks) {
        IncFsSize remaining = size;
        IncFsSize totalSize = 0;
        IncFsBlockIndex blockIdx = 0;
        while (remaining > 0) {
            constexpr auto capacity = BUFFER_SIZE;
@@ -502,7 +501,6 @@ private:

            buffer->resize(size + read);
            remaining -= read;
            totalSize += read;
        }
        if (!buffer->empty() && !flashToIncFs(incfsFd, kind, true, &blockIdx, buffer, blocks)) {
            return false;