drivers: infiniband: remove duplicate includes

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>
This commit is contained in:
Pravin Shedge 2017-12-06 22:19:39 +05:30 committed by Jason Gunthorpe
parent a5073d6054
commit 72c7fe90ee
5 changed files with 1 additions and 8 deletions

View File

@ -49,7 +49,6 @@
#include "smi.h" #include "smi.h"
#include "opa_smi.h" #include "opa_smi.h"
#include "agent.h" #include "agent.h"
#include "core_priv.h"
static int mad_sendq_size = IB_MAD_QP_SEND_SIZE; static int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
static int mad_recvq_size = IB_MAD_QP_RECV_SIZE; static int mad_recvq_size = IB_MAD_QP_RECV_SIZE;

View File

@ -41,8 +41,6 @@
#include <linux/module.h> #include <linux/module.h>
#include "core_priv.h" #include "core_priv.h"
#include "core_priv.h"
static DEFINE_MUTEX(rdma_nl_mutex); static DEFINE_MUTEX(rdma_nl_mutex);
static struct sock *nls; static struct sock *nls;
static struct { static struct {

View File

@ -50,16 +50,14 @@
#include <rdma/ib_cache.h> #include <rdma/ib_cache.h>
#include <linux/mlx5/port.h> #include <linux/mlx5/port.h>
#include <linux/mlx5/vport.h> #include <linux/mlx5/vport.h>
#include <linux/mlx5/fs.h>
#include <linux/list.h> #include <linux/list.h>
#include <rdma/ib_smi.h> #include <rdma/ib_smi.h>
#include <rdma/ib_umem.h> #include <rdma/ib_umem.h>
#include <linux/in.h> #include <linux/in.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/mlx5/fs.h>
#include <linux/mlx5/vport.h>
#include "mlx5_ib.h" #include "mlx5_ib.h"
#include "cmd.h" #include "cmd.h"
#include <linux/mlx5/vport.h>
#define DRIVER_NAME "mlx5_ib" #define DRIVER_NAME "mlx5_ib"
#define DRIVER_VERSION "5.0-0" #define DRIVER_VERSION "5.0-0"

View File

@ -45,7 +45,6 @@
#include "usnic_ib_verbs.h" #include "usnic_ib_verbs.h"
#include "usnic_ib_sysfs.h" #include "usnic_ib_sysfs.h"
#include "usnic_log.h" #include "usnic_log.h"
#include "usnic_ib_sysfs.h"
static ssize_t usnic_ib_show_board(struct device *device, static ssize_t usnic_ib_show_board(struct device *device,
struct device_attribute *attr, struct device_attribute *attr,

View File

@ -47,7 +47,6 @@
#include "usnic_log.h" #include "usnic_log.h"
#include "usnic_uiom.h" #include "usnic_uiom.h"
#include "usnic_transport.h" #include "usnic_transport.h"
#include "usnic_ib_verbs.h"
#define USNIC_DEFAULT_TRANSPORT USNIC_TRANSPORT_ROCE_CUSTOM #define USNIC_DEFAULT_TRANSPORT USNIC_TRANSPORT_ROCE_CUSTOM