summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/pd.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-04-07 16:09:15 +0300
committerLeon Romanovsky <leonro@mellanox.com>2020-04-19 15:53:20 +0300
commit9c275ee4ad82aeb1f51981fdc9ee16b74d4b101a (patch)
treed3a904acea98318d82b82fb06d6765bf47ad237d /drivers/net/ethernet/mellanox/mlx5/core/pd.c
parentbfd745f8f327c40d74c8207ca62db05a264b5b7c (diff)
downloadlinux-stable-9c275ee4ad82aeb1f51981fdc9ee16b74d4b101a.tar.gz
linux-stable-9c275ee4ad82aeb1f51981fdc9ee16b74d4b101a.tar.bz2
linux-stable-9c275ee4ad82aeb1f51981fdc9ee16b74d4b101a.zip
net/mlx5: Delete not-used cmd header
The structures defined in the cmd header are not used and can be safely removed from the driver. This patch removes that file and deletes all relevant includes. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/pd.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/pd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/pd.c b/drivers/net/ethernet/mellanox/mlx5/core/pd.c
index bd830d8d6c5f..b92d6f621c83 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/pd.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/pd.c
@@ -33,7 +33,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mlx5/driver.h>
-#include <linux/mlx5/cmd.h>
#include "mlx5_core.h"
int mlx5_core_alloc_pd(struct mlx5_core_dev *dev, u32 *pdn)