summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/odp.c
diff options
context:
space:
mode:
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>2022-08-23 02:51:31 +0000
committerLeon Romanovsky <leonro@nvidia.com>2022-08-23 11:22:13 +0300
commitca7ef7adad979648da5006152320caa71b746134 (patch)
tree50503826dd4f9057219724c062483a5a9e61c373 /drivers/infiniband/hw/mlx5/odp.c
parent2c34bb6dea481fa11048e26ffd1ce7400dbc2105 (diff)
downloadlinux-stable-ca7ef7adad979648da5006152320caa71b746134.tar.gz
linux-stable-ca7ef7adad979648da5006152320caa71b746134.tar.bz2
linux-stable-ca7ef7adad979648da5006152320caa71b746134.zip
IB/mlx5: Remove duplicate header inclusion related to ODP
rdma/ib_umem.h and rdma/ib_verbs.h are included by rdma/ib_umem_odp.h. This patch removes the redundant entries. Link: https://lore.kernel.org/r/20220823025131.862811-1-matsuda-daisuke@fujitsu.com Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/odp.c')
-rw-r--r--drivers/infiniband/hw/mlx5/odp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/odp.c b/drivers/infiniband/hw/mlx5/odp.c
index 901a8b030236..bc97958818bb 100644
--- a/drivers/infiniband/hw/mlx5/odp.c
+++ b/drivers/infiniband/hw/mlx5/odp.c
@@ -30,7 +30,6 @@
* SOFTWARE.
*/
-#include <rdma/ib_umem.h>
#include <rdma/ib_umem_odp.h>
#include <linux/kernel.h>
#include <linux/dma-buf.h>