[dpdk-dev] [PATCH] i40evf: fix mac deletion when stop dev

Stephen Hemminger stephen at networkplumber.org
Mon Nov 30 17:33:00 CET 2015


On Mon, 30 Nov 2015 11:54:09 +0800
Jingjing Wu <jingjing.wu at intel.com> wrote:

> +	(void)rte_memcpy(mac_addr.addr_bytes, hw->mac.addr,
> +				sizeof(mac_addr.addr_bytes))

Please don't add useless (void) cast.
I haven't seen that since lint on Unix.


More information about the dev mailing list