drivers: infiniband: remove duplicate includes
authorPravin Shedge <pravin.shedge4linux@gmail.com>
Wed, 6 Dec 2017 16:49:39 +0000 (22:19 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 22 Dec 2017 16:39:35 +0000 (09:39 -0700)
These duplicate includes have been found with scripts/checkincludes.pl but
they have been removed manually to avoid removing false positives.

Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/netlink.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.c

index cb91245e91633282d3421f8d2fc5f35323674079..c50596f7f98a52f2cdc6afacac3d98d9a7d348fb 100644 (file)
@@ -49,7 +49,6 @@
 #include "smi.h"
 #include "opa_smi.h"
 #include "agent.h"
-#include "core_priv.h"
 
 static int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
 static int mad_recvq_size = IB_MAD_QP_RECV_SIZE;
index 1fb72c356e36ccc77fc3d97e384a238d9fa6d2f9..0c7db94cd9b9eab2f5febec02f579fb7d897ae99 100644 (file)
@@ -41,8 +41,6 @@
 #include <linux/module.h>
 #include "core_priv.h"
 
-#include "core_priv.h"
-
 static DEFINE_MUTEX(rdma_nl_mutex);
 static struct sock *nls;
 static struct {
index 543d0a4c8bf36eb43af6d9047c7eaa6cd75d9638..fe435edf305b6924ea21219ba39584c4052af2e6 100644 (file)
 #include <rdma/ib_cache.h>
 #include <linux/mlx5/port.h>
 #include <linux/mlx5/vport.h>
+#include <linux/mlx5/fs.h>
 #include <linux/list.h>
 #include <rdma/ib_smi.h>
 #include <rdma/ib_umem.h>
 #include <linux/in.h>
 #include <linux/etherdevice.h>
-#include <linux/mlx5/fs.h>
-#include <linux/mlx5/vport.h>
 #include "mlx5_ib.h"
 #include "cmd.h"
-#include <linux/mlx5/vport.h>
 
 #define DRIVER_NAME "mlx5_ib"
 #define DRIVER_VERSION "5.0-0"
index 685ef2293cb8e8c45610783aebb98069a57bc45b..4210ca14014d115caad7bfd84a3e99c58fa19872 100644 (file)
@@ -45,7 +45,6 @@
 #include "usnic_ib_verbs.h"
 #include "usnic_ib_sysfs.h"
 #include "usnic_log.h"
-#include "usnic_ib_sysfs.h"
 
 static ssize_t usnic_ib_show_board(struct device *device,
                                        struct device_attribute *attr,
index aa2456a4f9bd6e4fec0b32c28aaecb196198d721..a688a566916844facb173ad1b9053c83749a921c 100644 (file)
@@ -47,7 +47,6 @@
 #include "usnic_log.h"
 #include "usnic_uiom.h"
 #include "usnic_transport.h"
-#include "usnic_ib_verbs.h"
 
 #define USNIC_DEFAULT_TRANSPORT USNIC_TRANSPORT_ROCE_CUSTOM