net/sfc/base: fix unused argument warning
authorAndy Moreton <amoreton@solarflare.com>
Fri, 19 Jan 2018 06:47:06 +0000 (06:47 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commit218a16a6dcc58bac115464e979fed6906534a216
tree50df3fc5d3ac882e88fec98af91adc868f8bb292
parent3c53241469bf70b446f68f32eda7265d4820575a
net/sfc/base: fix unused argument warning

The type_data argument to ef10_rx_qcreate is only used
in builds with EFSYS_OPT_RX_PACKED_STREAM. note this as
an unused argument to avoid warnings in builds without
packed stream support.

Fixes: b749646dade4 ("net/sfc/base: add function to create packed stream RxQ")

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_rx.c