[dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs

Stephen Hemminger stephen at networkplumber.org
Thu Aug 30 18:15:18 CEST 2018


On Thu, 30 Aug 2018 15:42:02 +0200
Gaetan Rivet <gaetan.rivet at 6wind.com> wrote:

> +int
> +rte_pci_devargs_process(struct rte_pci_device *pdev)
> +{
> +	/* For the moment, no PCI param
> +	 * needs to be processed.
> +	 */
> +	(void) pdev;
> +	return 0;
> +}

Use __rte_unused rather than the (void) cast?


More information about the dev mailing list