Automatically generated by devtools/cocci/rte_memcpy.cocci

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 drivers/net/dpaa2/dpaa2_tm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dpaa2/dpaa2_tm.c b/drivers/net/dpaa2/dpaa2_tm.c
index 8fe5bfa013bb..1749b1be2295 100644
--- a/drivers/net/dpaa2/dpaa2_tm.c
+++ b/drivers/net/dpaa2/dpaa2_tm.c
@@ -324,7 +324,7 @@ dpaa2_shaper_profile_add(struct rte_eth_dev *dev, uint32_t 
shaper_profile_id,
                                         NULL, NULL);
 
        profile->id = shaper_profile_id;
-       rte_memcpy(&profile->params, params, sizeof(profile->params));
+       memcpy(&profile->params, params, sizeof(profile->params));
 
        LIST_INSERT_HEAD(&priv->shaper_profiles, profile, next);
 
-- 
2.43.0

Reply via email to