Remove 'srcnode' from moved_req structure
The 'srcnode' field in the moved_req structure is only relevant to multi-node systems. Furthermore, with the absence of the 'srcnode' field, the routine setup_movedata() requires one less parameter. Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com> Change-Id: I00bbee2d78ef345a00399708215bd9e1ef5298d2
This commit is contained in:
parent
101d486834
commit
0d376ab2c8
|
@ -353,7 +353,6 @@ typedef uint32_t MovedAction;
|
|||
|
||||
struct moved_req {
|
||||
MovedAction Action;
|
||||
knode_t srcnode;
|
||||
void *source;
|
||||
void *destination;
|
||||
uint32_t iTotalSize;
|
||||
|
|
|
@ -54,7 +54,6 @@ void setup_movedata(struct k_args *A,
|
|||
struct k_args *pWriter,
|
||||
struct k_args *pReader,
|
||||
void *destination,
|
||||
knode_t srcnode,
|
||||
void *source,
|
||||
uint32_t size,
|
||||
int XferID)
|
||||
|
@ -65,7 +64,6 @@ void setup_movedata(struct k_args *A,
|
|||
set/reset of state bits */
|
||||
|
||||
A->Args.MovedReq.Action = (MovedAction)(MVDACT_SNDACK | MVDACT_RCVACK);
|
||||
A->Args.MovedReq.srcnode = srcnode;
|
||||
A->Args.MovedReq.source = source;
|
||||
A->Args.MovedReq.destination = destination;
|
||||
A->Args.MovedReq.iTotalSize = size;
|
||||
|
|
|
@ -95,7 +95,6 @@ void K_ChProcRO(struct pipe_struct *pPipe, struct k_args *pNewReader)
|
|||
pReader,
|
||||
(char *)(pReaderArgs->pData) +
|
||||
OCTET_TO_SIZEOFUNIT(pReaderArgs->iSizeXferred),
|
||||
K_ThisNode,
|
||||
pRead,
|
||||
ret,
|
||||
id);
|
||||
|
|
|
@ -95,7 +95,6 @@ void K_ChProcWO(struct pipe_struct *pPipe, struct k_args *pNewWriter)
|
|||
pWriter,
|
||||
NULL,
|
||||
pWrite,
|
||||
pWriterArgs->DataNode,
|
||||
(char *)(pWriterArgs->pData) +
|
||||
OCTET_TO_SIZEOFUNIT(pWriterArgs->iSizeXferred),
|
||||
ret,
|
||||
|
|
|
@ -162,7 +162,6 @@ void K_ChProcWR(
|
|||
pReader,
|
||||
(char *)(pReaderArgs->pData) +
|
||||
OCTET_TO_SIZEOFUNIT(pReaderArgs->iSizeXferred),
|
||||
pWriterArgs->DataNode,
|
||||
(char *)(pWriterArgs->pData) +
|
||||
OCTET_TO_SIZEOFUNIT(pWriterArgs->iSizeXferred),
|
||||
iT2,
|
||||
|
|
|
@ -74,7 +74,6 @@ void setup_movedata(struct k_args *A,
|
|||
struct k_args *pWriter,
|
||||
struct k_args *pReader,
|
||||
void *destination,
|
||||
knode_t srcnode,
|
||||
void *source,
|
||||
uint32_t size,
|
||||
int XferID);
|
||||
|
|
Loading…
Reference in a new issue