Skip to contentSkip to conversation

net/mlx5: Remove duplicated header file inclusion

PATCH New Zhen Lei 1 participant 2 messages Apr 6, 2021

Subsystems (4)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

v2 cover net/mlx5: Remove duplicated header file inclusion

v1 --> v2:
Arrange all included header files in alphabetical order.

Zhen Lei (1):
net/mlx5: Remove duplicated header file inclusion

 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
Signature · 1 line
1.8.3
author
#1 lore raw

PATCH v2 1/1 net/mlx5: Remove duplicated header file inclusion

Delete one of the header files "esw/indir_table.h" that are included twice, all included header files are then rearranged alphabetically.

---
 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +6 -7
index 8694b83968b4c4f..e8307f5eae4cb6a 100644
@@ -33,21 +33,20 @@
 #include <linux/etherdevice.h>
 #include <linux/idr.h>
 #include <linux/mlx5/driver.h>
+#include <linux/mlx5/fs.h>
 #include <linux/mlx5/mlx5_ifc.h>
 #include <linux/mlx5/vport.h>
-#include <linux/mlx5/fs.h>
-#include "mlx5_core.h"
-#include "eswitch.h"
-#include "esw/indir_table.h"
+#include "en.h"
+#include "en_tc.h"
 #include "esw/acl/ofld.h"
 #include "esw/indir_table.h"
-#include "rdma.h"
-#include "en.h"
+#include "eswitch.h"
 #include "fs_core.h"
 #include "lib/devcom.h"
 #include "lib/eq.h"
 #include "lib/fs_chains.h"
-#include "en_tc.h"
+#include "mlx5_core.h"
+#include "rdma.h"
 
 /* There are two match-all miss flows, one for unicast dst mac and
  * one for multicast.
Signature · 1 line
1.8.3