igb: fix build without ieee1588 enabled
authorHarry van Haaren <harry.van.haaren@intel.com>
Wed, 28 Oct 2015 16:08:00 +0000 (16:08 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 28 Oct 2015 17:30:05 +0000 (18:30 +0100)
commitf38770578f2c6b2e62e4fd4b806ba8be3bf7fafb
tree4ca001b4e1331efb832bcf629b4f1325547fa565
parent35ffb4ff14e47111315d974ec4140da3d602e36d
igb: fix build without ieee1588 enabled

This patch marks rxq with RTE_SET_USED in
rx_desc_hlen_type_rss_to_pkt_flags(), when
ieee1588 is disabled. Previously a compilation
error occurred on unused-parameter.

Fixes: 1ce6591e238a ("igb: fix ieee1588 frame identification in i210")

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/net/e1000/igb_rxtx.c