summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/uar.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/uar.c
parentbfd745f8f327c40d74c8207ca62db05a264b5b7c (diff)
downloadlinux-9c275ee4ad82aeb1f51981fdc9ee16b74d4b101a.tar.xz
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/uar.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/uar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/uar.c b/drivers/net/ethernet/mellanox/mlx5/core/uar.c
index 0d006224d7b0..816f9c434359 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/uar.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/uar.c
@@ -34,7 +34,6 @@
#include <linux/module.h>
#include <linux/io-mapping.h>
#include <linux/mlx5/driver.h>
-#include <linux/mlx5/cmd.h>
#include "mlx5_core.h"
int mlx5_cmd_alloc_uar(struct mlx5_core_dev *dev, u32 *uarn)