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.
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.