summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/erdma/erdma_verbs.h
diff options
context:
space:
mode:
authorCheng Xu <chengyou@linux.alibaba.com>2022-09-09 11:38:20 +0200
committerLeon Romanovsky <leon@kernel.org>2022-09-20 13:27:51 +0200
commit93aea72cc53c87de3bae3fe554f9836d8b4a0386 (patch)
tree9dd1d42529ca38ae6163b719f41aad1080448efd /drivers/infiniband/hw/erdma/erdma_verbs.h
parentRDMA/erdma: Eliminate unnecessary casting for erdma_post_cmd_wait (diff)
downloadlinux-93aea72cc53c87de3bae3fe554f9836d8b4a0386.tar.xz
linux-93aea72cc53c87de3bae3fe554f9836d8b4a0386.zip
RDMA/erdma: Remove redundant includes
Many of erdma's includes are redundant, because they are already included indirectly by kernel headers or custom headers. So we remove all the unnecessary direct-includes. Besides, add linux/pci.h to erdma.h because it's also used in the file. Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com> Link: https://lore.kernel.org/r/20220909093822.33868-3-chengyou@linux.alibaba.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/erdma/erdma_verbs.h')
-rw-r--r--drivers/infiniband/hw/erdma/erdma_verbs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/erdma/erdma_verbs.h b/drivers/infiniband/hw/erdma/erdma_verbs.h
index c7baddb1f292..fe93e1ac9674 100644
--- a/drivers/infiniband/hw/erdma/erdma_verbs.h
+++ b/drivers/infiniband/hw/erdma/erdma_verbs.h
@@ -7,15 +7,7 @@
#ifndef __ERDMA_VERBS_H__
#define __ERDMA_VERBS_H__
-#include <linux/errno.h>
-
-#include <rdma/ib_verbs.h>
-#include <rdma/ib_user_verbs.h>
-#include <rdma/iw_cm.h>
-
#include "erdma.h"
-#include "erdma_cm.h"
-#include "erdma_hw.h"
/* RDMA Capability. */
#define ERDMA_MAX_PD (128 * 1024)