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 baa1624..a091383 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 20ff852..ed24306 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>