summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/erdma/erdma.h
diff options
context:
space:
mode:
authorCheng Xu <chengyou@linux.alibaba.com>2022-09-09 17:38:20 +0800
committerLeon Romanovsky <leon@kernel.org>2022-09-20 14:27:51 +0300
commit93aea72cc53c87de3bae3fe554f9836d8b4a0386 (patch)
tree9dd1d42529ca38ae6163b719f41aad1080448efd /drivers/infiniband/hw/erdma/erdma.h
parent95f911d94995861311d78c77acb91af1ad6b8cc5 (diff)
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.h')
-rw-r--r--drivers/infiniband/hw/erdma/erdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/erdma/erdma.h b/drivers/infiniband/hw/erdma/erdma.h
index 07bcd688fdb7..cc5e4eb3a21e 100644
--- a/drivers/infiniband/hw/erdma/erdma.h
+++ b/drivers/infiniband/hw/erdma/erdma.h
@@ -9,6 +9,7 @@
#include <linux/bitfield.h>
#include <linux/netdevice.h>
+#include <linux/pci.h>
#include <linux/xarray.h>
#include <rdma/ib_verbs.h>