]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: mark unused parameter in dpaa2_eth_tx_conf
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 12 Oct 2018 16:27:38 +0000 (16:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:23:19 +0000 (22:23 -0700)
commitef16a9f1d85032346acd7c1b06e9d5a72f4960a2
treeccd5ab97967fe3d3c27146c41754588a371b03f4
parent4d4a4acf0f6cf9a4cae51fc8372a66ab2bc1c286
dpaa2-eth: mark unused parameter in dpaa2_eth_tx_conf

The ch parameter is never used in the dpaa2_eth_tx_conf function but
since its prototype must match the type defined in the consume field of
struct dpaa2_eth_fq, just mark it as __always_unused.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c