git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal: simplify control thread creation
[dpdk.git]
/
lib
/
eal
/
common
/
malloc_mp.c
diff --git
a/lib/eal/common/malloc_mp.c
b/lib/eal/common/malloc_mp.c
index
c7101b3
..
2e597a1
100644
(file)
--- a/
lib/eal/common/malloc_mp.c
+++ b/
lib/eal/common/malloc_mp.c
@@
-171,9
+171,7
@@
handle_sync(const struct rte_mp_msg *msg, const void *peer)
resp->id = req->id;
resp->result = ret == 0 ? REQ_RESULT_SUCCESS : REQ_RESULT_FAIL;
- rte_mp_reply(&reply, peer);
-
- return 0;
+ return rte_mp_reply(&reply, peer);
}
static int