OSDN Git Service

IB: remove duplicate header files
authorZhu Yanjun <yanjun.zhu@oracle.com>
Mon, 12 Mar 2018 03:30:28 +0000 (23:30 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Mar 2018 20:46:03 +0000 (16:46 -0400)
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>
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/sw/rdmavt/vt.h

index 90bc8c7..32c4826 100644 (file)
@@ -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"
index 8823b2e..0675ea6 100644 (file)
@@ -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), \