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

Commit 8c6989b7 authored by Shaju Mathew's avatar Shaju Mathew Committed by Automerger Merge Worker
Browse files

Merge "Removing unused counters." into main am: 6106318c

parents 175136b4 6106318c
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;