Browse Source

IB: remove duplicate header files

In hfi.h, the header file opa_addr.h is included twice.
In vt.h, the header file mmap.h is included twice.

Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Zhu Yanjun 7 years ago
parent
commit
8a18e911d0
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/infiniband/hw/hfi1/hfi.h
  2. 0 1
      drivers/infiniband/sw/rdmavt/vt.h

+ 0 - 1
drivers/infiniband/hw/hfi1/hfi.h

@@ -70,7 +70,6 @@
 #include <linux/rhashtable.h>
 #include <linux/netdevice.h>
 #include <rdma/rdma_vt.h>
-#include <rdma/opa_addr.h>
 
 #include "chip_registers.h"
 #include "common.h"

+ 0 - 1
drivers/infiniband/sw/rdmavt/vt.h

@@ -59,7 +59,6 @@
 #include "mmap.h"
 #include "cq.h"
 #include "mad.h"
-#include "mmap.h"
 
 #define rvt_pr_info(rdi, fmt, ...) \
 	__rvt_pr_info(rdi->driver_f.get_pci_dev(rdi), \