[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1611578284-42974-1-git-send-email-zou_wei@huawei.com>
Date: Mon, 25 Jan 2021 20:38:04 +0800
From: Zou Wei <zou_wei@...wei.com>
To: <saeedm@...dia.com>, <leon@...nel.org>, <davem@...emloft.net>,
<kuba@...nel.org>
CC: <netdev@...r.kernel.org>, <linux-rdma@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Zou Wei <zou_wei@...wei.com>
Subject: [PATCH -next] net/mlx5: Remove unused including <linux/version.h>
Fix the following versioncheck warning:
drivers/net/ethernet/mellanox/mlx5/core/main.c:53:1: unused including <linux/version.h>
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: Zou Wei <zou_wei@...wei.com>
---
drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
index 5c52021..50999da 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
@@ -50,7 +50,6 @@
#ifdef CONFIG_RFS_ACCEL
#include <linux/cpu_rmap.h>
#endif
-#include <linux/version.h>
#include <net/devlink.h>
#include "mlx5_core.h"
#include "lib/eq.h"
--
2.6.2
Powered by blists - more mailing lists