net/mlx5e: Move including net/arp.h from en_rep.c to rep/neigh.c
authorAlaa Hleihel <alaa@mellanox.com>
Tue, 2 Jun 2020 09:09:21 +0000 (12:09 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 25 Jun 2020 19:41:38 +0000 (12:41 -0700)
After the cited commit, the header net/arp.h is no longer used in en_rep.c.
So, move it to the new file rep/neigh.c that uses it now.

Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c

index baa162432e75e31c83d5d2f130782c93c4aab669..a0913836c973fd0b91200258bfb72ba4983b473b 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/spinlock.h>
 #include <linux/notifier.h>
 #include <net/netevent.h>
+#include <net/arp.h>
 #include "neigh.h"
 #include "tc.h"
 #include "en_rep.h"
index 20ff8526d21261c3c5b74c52b9b8220a3eea4984..ed2430677b129ae7f606f0acd6379ae72f0fb2c5 100644 (file)
@@ -35,7 +35,6 @@
 #include <net/switchdev.h>
 #include <net/pkt_cls.h>
 #include <net/act_api.h>
-#include <net/arp.h>
 #include <net/devlink.h>
 #include <net/ipv6_stubs.h>