commit | 3e02a604124f6f2ec60bf24ec9cdd45b9c1c84c8 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Sun Feb 21 10:29:33 2021 -0800 |
committer | Greg Kaiser <gkaiser@google.com> | Sun Feb 21 10:31:40 2021 -0800 |
tree | 3ee1b7056089c42391291ca4f994751d3ec0bb68 | |
parent | d0bfde2f7832a2707fa92fd361cce6b948e73078 [diff] |
trusty: Remove redundant check This repeats a check in the lines immediately before it. Test: TreeHugger Change-Id: I47ac9f359018b87bc283657eddb75ad3d175244e
diff --git a/trusty/confirmationui/TrustyApp.cpp b/trusty/confirmationui/TrustyApp.cpp index 0e84b19..1e70a5e 100644 --- a/trusty/confirmationui/TrustyApp.cpp +++ b/trusty/confirmationui/TrustyApp.cpp
@@ -107,11 +107,6 @@ return; } - if (dma_buf < 0) { - LOG(ERROR) << AT << "failed to allocate shared memory buffer"; - return; - } - confirmationui_hdr hdr = { .cmd = CONFIRMATIONUI_CMD_INIT, };