summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-10-11 07:47:49 +0000
committerDavid S. Miller <davem@davemloft.net>2018-10-11 10:08:22 -0700
commitbf341eb895411f36582a905d4a646b387a0d1fc3 (patch)
tree1d4568500fb5749a1642bf435a39b9870f093be6 /drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
parentdf92062e495a0ffcebe8c14af5309aa5a145bc8a (diff)
downloadlinux-stable-bf341eb895411f36582a905d4a646b387a0d1fc3.tar.gz
linux-stable-bf341eb895411f36582a905d4a646b387a0d1fc3.tar.bz2
linux-stable-bf341eb895411f36582a905d4a646b387a0d1fc3.zip
mlxsw: spectrum: Remove misuses of private header file
The spectrum_router.h header file is private to the router block and should only be included by direct consumers of it, such as dpipe and the multicast routing code. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
index db715da7bab7..1a9370a46b0e 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
@@ -17,7 +17,6 @@
#include <net/switchdev.h>
#include "spectrum_span.h"
-#include "spectrum_router.h"
#include "spectrum_switchdev.h"
#include "spectrum.h"
#include "core.h"