diff options
author | Cheng Xu <chengyou@linux.alibaba.com> | 2022-09-09 12:38:20 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-09-20 14:27:51 +0300 |
commit | 93aea72cc53c87de3bae3fe554f9836d8b4a0386 (patch) | |
tree | 9dd1d42529ca38ae6163b719f41aad1080448efd /drivers/infiniband/hw/erdma/erdma_qp.c | |
parent | 95f911d94995861311d78c77acb91af1ad6b8cc5 (diff) | |
download | linux-93aea72cc53c87de3bae3fe554f9836d8b4a0386.tar.xz |
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_qp.c')
-rw-r--r-- | drivers/infiniband/hw/erdma/erdma_qp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/infiniband/hw/erdma/erdma_qp.c b/drivers/infiniband/hw/erdma/erdma_qp.c index 5d5827fd959f..9f12d683150a 100644 --- a/drivers/infiniband/hw/erdma/erdma_qp.c +++ b/drivers/infiniband/hw/erdma/erdma_qp.c @@ -6,15 +6,6 @@ /* Authors: Bernard Metzler <bmt@zurich.ibm.com> */ /* Copyright (c) 2008-2019, IBM Corporation */ -#include <linux/errno.h> -#include <linux/pci.h> -#include <linux/scatterlist.h> -#include <linux/types.h> - -#include <rdma/ib_user_verbs.h> -#include <rdma/ib_verbs.h> - -#include "erdma.h" #include "erdma_cm.h" #include "erdma_verbs.h" |