Remove linux/mlx5/device.h which is included more than once
Signed-off-by: Jing Xiangfeng <[email protected]>
---
drivers/vdpa/mlx5/net/mlx5_vnet.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
index 70676a6d1691..b4bdbe062b7c 100644
--- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
+++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
@@ -8,7 +8,6 @@
#include <linux/mlx5/device.h>
#include <linux/mlx5/vport.h>
#include <linux/mlx5/fs.h>
-#include <linux/mlx5/device.h>
#include "mlx5_vnet.h"
#include "mlx5_vdpa_ifc.h"
#include "mlx5_vdpa.h"
--
2.26.0.106.g9fadedd
On Thu, Aug 27, 2020 at 08:05:47PM +0800, Jing Xiangfeng wrote:
> Remove linux/mlx5/device.h which is included more than once
>
> Signed-off-by: Jing Xiangfeng <[email protected]>
Acked-by: Eli Cohen <[email protected]>
> ---
> drivers/vdpa/mlx5/net/mlx5_vnet.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> index 70676a6d1691..b4bdbe062b7c 100644
> --- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
> +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> @@ -8,7 +8,6 @@
> #include <linux/mlx5/device.h>
> #include <linux/mlx5/vport.h>
> #include <linux/mlx5/fs.h>
> -#include <linux/mlx5/device.h>
> #include "mlx5_vnet.h"
> #include "mlx5_vdpa_ifc.h"
> #include "mlx5_vdpa.h"
> --
> 2.26.0.106.g9fadedd
>