[dpdk-dev] [PATCH] i40evf: fix mac deletion when stop dev
Thomas Monjalon
thomas.monjalon at 6wind.com
Sun Dec 6 22:34:01 CET 2015
2015-11-30 08:33, Stephen Hemminger:
> 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.
It is the style in i40e driver.
It may deserve a general cleanup.
More information about the dev
mailing list