On Fri, Aug 21, 2026 at 12:24:44PM -0700, Stephen Hemminger wrote:
> Don't need rte_memcpy for fixed size value.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
>  drivers/net/vhost/rte_eth_vhost.c | 1 -
>  1 file changed, 1 deletion(-)
> 

Change is correct, but patch needs different title and commit log, since
you are removing an unnecessary header here, not removing rte_memcpy use
itself.

> diff --git a/drivers/net/vhost/rte_eth_vhost.c 
> b/drivers/net/vhost/rte_eth_vhost.c
> index 05940f2461..97d60ecf5d 100644
> --- a/drivers/net/vhost/rte_eth_vhost.c
> +++ b/drivers/net/vhost/rte_eth_vhost.c
> @@ -13,7 +13,6 @@
>  #include <ethdev_driver.h>
>  #include <ethdev_vdev.h>
>  #include <rte_malloc.h>
> -#include <rte_memcpy.h>
>  #include <rte_net.h>
>  #include <bus_vdev_driver.h>
>  #include <rte_kvargs.h>
> -- 
> 2.53.0
> 

Reply via email to