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

Commit 71f93475 authored by John Reck's avatar John Reck
Browse files

Remove unused paramters

No change, just doesn't pass nullptr to an optional output

Test: make
Change-Id: I29771276c113623a3e1c3b1b44f070248cc01ceb
parent 84bf1845
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -383,7 +383,7 @@ c2_status_t Gralloc4Mapper_lock(native_handle_t *handle, uint64_t usage, const R
    }
    }


    uint8_t *pointer = nullptr;
    uint8_t *pointer = nullptr;
    err = mapper.lock(handle, usage, bounds, (void **)&pointer, nullptr, nullptr);
    err = mapper.lock(handle, usage, bounds, (void **)&pointer);
    if (err != NO_ERROR || pointer == nullptr) {
    if (err != NO_ERROR || pointer == nullptr) {
        return C2_CORRUPTED;
        return C2_CORRUPTED;
    }
    }