From b171936cea2f40bb886b121628a552b2dfafa4f9 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 23 Aug 2017 08:44:42 -0700 Subject: [PATCH] net/sfc: remove unnecessary void casts Signed-off-by: Stephen Hemminger Reviewed-by: Kirill Rybalchenko --- drivers/net/sfc/sfc_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c index 2b037d863a..08299fe070 100644 --- a/drivers/net/sfc/sfc_ethdev.c +++ b/drivers/net/sfc/sfc_ethdev.c @@ -991,7 +991,7 @@ sfc_set_mc_addr_list(struct rte_eth_dev *dev, struct ether_addr *mc_addr_set, } for (i = 0; i < nb_mc_addr; ++i) { - (void)rte_memcpy(mc_addrs, mc_addr_set[i].addr_bytes, + rte_memcpy(mc_addrs, mc_addr_set[i].addr_bytes, EFX_MAC_ADDR_LEN); mc_addrs += EFX_MAC_ADDR_LEN; } -- 2.20.1