Blob Blame History Raw
From: Parav Pandit <parav@mellanox.com>
Date: Tue, 22 May 2018 08:34:09 +0300
Subject: IB/core: Remove duplicate declaration of gid_cache_wq
Patch-mainline: v4.18-rc1
Git-commit: 9906224f60d4438df4b5f300270dbbe56a102dfc
References: bsc#1046306 FATE#322942

Remove duplicate declaration of gid_cache_wq.

Fixes: d41861942 ("IB/core: Add generic function to extract IB speed from netdev")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/infiniband/core/roce_gid_mgmt.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/infiniband/core/roce_gid_mgmt.c
+++ b/drivers/infiniband/core/roce_gid_mgmt.c
@@ -44,8 +44,6 @@
 
 static struct workqueue_struct *gid_cache_wq;
 
-static struct workqueue_struct *gid_cache_wq;
-
 enum gid_op_type {
 	GID_DEL = 0,
 	GID_ADD