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

Commit 3e02a604 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

trusty: Remove redundant check

This repeats a check in the lines immediately before it.

Test: TreeHugger
Change-Id: I47ac9f359018b87bc283657eddb75ad3d175244e
parent d0bfde2f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -107,11 +107,6 @@ TrustyApp::TrustyApp(const std::string& path, const std::string& appname)
        return;
    }

    if (dma_buf < 0) {
        LOG(ERROR) << AT << "failed to allocate shared memory buffer";
        return;
    }

    confirmationui_hdr hdr = {
        .cmd = CONFIRMATIONUI_CMD_INIT,
    };