Coverity issue: 272582 Fixes: 2147c0950580 ("ipc: clean up code") Cc: jianfeng....@intel.com
Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com> --- lib/librte_eal/common/eal_common_proc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index 611aba2..707d8ab 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -870,7 +870,6 @@ mp_request_async(const char *dst, struct rte_mp_msg *req, pending_req->type = REQUEST_TYPE_ASYNC; strlcpy(pending_req->dst, dst, sizeof(pending_req->dst)); - strcpy(pending_req->dst, dst); pending_req->request = req; pending_req->reply = reply_msg; pending_req->async.param = param; -- 2.7.4