Commit 72c7fe90 authored by Pravin Shedge's avatar Pravin Shedge Committed by Jason Gunthorpe

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: default avatarPravin Shedge <pravin.shedge4linux@gmail.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent a5073d60
...@@ -49,7 +49,6 @@ ...@@ -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;
......
...@@ -41,8 +41,6 @@ ...@@ -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 {
......
...@@ -50,16 +50,14 @@ ...@@ -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"
......
...@@ -45,7 +45,6 @@ ...@@ -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,
......
...@@ -47,7 +47,6 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment