-static inline struct afb_request *to_request(struct afb_xreq *xreq)
-{
- return &xreq->request;
-}
-
-static inline struct afb_req to_req(struct afb_xreq *xreq)
-{
- return (struct afb_req){ .itf = xreq->request.itf, .closure = &xreq->request };
-}
-
-static inline struct afb_xreq *from_request(struct afb_request *request)
-{
- return CONTAINER_OF(struct afb_xreq, request, request);
-}
-
-/******************************************************************************/
-