[dpdk-dev] [PATCH] ethdev: modifiy vlan_offload_set_t to return int
Stephen Hemminger
stephen at networkplumber.org
Fri Aug 25 01:37:08 CEST 2017
On Thu, 24 Aug 2017 19:18:51 -0400
David Harton <dharton at cisco.com> wrote:
> @@ -2031,7 +2031,7 @@ struct avp_queue {
> mask = (ETH_VLAN_STRIP_MASK |
> ETH_VLAN_FILTER_MASK |
> ETH_VLAN_EXTEND_MASK);
> - avp_vlan_offload_set(eth_dev, mask);
> + (void)avp_vlan_offload_set(eth_dev, mask);
This is a BSDism. You don't need the void cast.
More information about the dev
mailing list