[dpdk-dev] [PATCH] vfio: remove unnecessary explicit type casting

David Marchand david.marchand at redhat.com
Mon Oct 5 10:13:48 CEST 2020


On Wed, Sep 16, 2020 at 2:42 PM wangyunjian <wangyunjian at huawei.com> wrote:
>
> From: Yunjian Wang <wangyunjian at huawei.com>
>
> The variables 'vfio_res->nb_maps' and 'i' are of type int. The type
> casting of 'vfio_res->nb_maps' is redundant and not required.
>
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list