[Zion] Remove dead ZMessage struct.

This commit is contained in:
Drew Galbraith 2023-11-02 21:57:29 -07:00
parent e66706d381
commit 7dd10a3e53
5 changed files with 0 additions and 23 deletions

View file

@ -54,12 +54,6 @@ glcr::ErrorCode PortRecv(ZPortRecvReq* req) {
RET_ERR(ValidateCapability<Port>(port_cap, kZionPerm_Read));
auto port = port_cap->obj<Port>();
ZMessage message{
.num_bytes = *req->num_bytes,
.data = const_cast<void*>(req->data),
.num_caps = *req->num_caps,
.caps = req->caps,
};
return port->Recv(req->num_bytes, req->data, req->num_caps, req->caps);
}