summaryrefslogtreecommitdiff
path: root/drivers/net/i40e/i40e_pf.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-08-23 08:44:44 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2017-10-06 02:49:48 +0200
commit1910eb50db6b879c36ea12091293b2788f2c3fad (patch)
tree6b906e5bfec00861c59a3698dfde17799eaff226 /drivers/net/i40e/i40e_pf.c
parentb96c16f562796def1d95df7f0d9d0630aaed2dec (diff)
downloaddpdk-1910eb50db6b879c36ea12091293b2788f2c3fad.zip
dpdk-1910eb50db6b879c36ea12091293b2788f2c3fad.tar.gz
dpdk-1910eb50db6b879c36ea12091293b2788f2c3fad.tar.xz
net/i40e: remove unnecessary void casts
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Diffstat (limited to 'drivers/net/i40e/i40e_pf.c')
-rw-r--r--drivers/net/i40e/i40e_pf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c
index 95d4565..eef7243 100644
--- a/drivers/net/i40e/i40e_pf.c
+++ b/drivers/net/i40e/i40e_pf.c
@@ -843,7 +843,7 @@ i40e_pf_host_process_cmd_add_ether_address(struct i40e_pf_vf *vf,
for (i = 0; i < addr_list->num_elements; i++) {
mac = (struct ether_addr *)(addr_list->list[i].addr);
- (void)rte_memcpy(&filter.mac_addr, mac, ETHER_ADDR_LEN);
+ rte_memcpy(&filter.mac_addr, mac, ETHER_ADDR_LEN);
filter.filter_type = RTE_MACVLAN_PERFECT_MATCH;
if (is_zero_ether_addr(mac) ||
i40e_vsi_add_mac(vf->vsi, &filter)) {