trusty: Remove redundant check

This repeats a check in the lines immediately before it.

Test: TreeHugger
Change-Id: I47ac9f359018b87bc283657eddb75ad3d175244e
This commit is contained in:
Greg Kaiser 2021-02-21 10:29:33 -08:00
parent d0bfde2f78
commit 3e02a60412

View file

@ -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,
};