[Zion] Remove dead ZMessage struct.
This commit is contained in:
parent
e66706d381
commit
7dd10a3e53
5 changed files with 0 additions and 23 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue