> > The rte_afu_driver is assigned to rte_afu_device.driver during probing.
> > There is no need of accessing the rte_afu_driver via rte_device.driver and
> > type casting to its container.
> >
> > Signed-off-by: Thomas Monjalon
>
> Acked-by: Rosen Xu
Applied
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Wednesday, September 26, 2018 6:08
> To: Xu, Rosen ; Zhang, Tianfei
>
> Cc: dev@dpdk.org
> Subject: [PATCH] bus/ifpga: remove useless driver cast
>
> The rte_afu_driver is assigned to rte_afu_device.driver
The rte_afu_driver is assigned to rte_afu_device.driver during probing.
There is no need of accessing the rte_afu_driver via rte_device.driver
and type casting to its container.
Signed-off-by: Thomas Monjalon
---
drivers/bus/ifpga/ifpga_bus.c | 6 ++
drivers/bus/ifpga/rte_bus_ifpga.h | 3
3 matches
Mail list logo