From: Parav Pandit Date: Tue, 22 May 2018 05:34:09 +0000 (+0300) Subject: IB/core: Remove duplicate declaration of gid_cache_wq X-Git-Tag: v5.15~8566^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9906224f60d4438df4b5f300270dbbe56a102dfc;p=platform%2Fkernel%2Flinux-starfive.git IB/core: Remove duplicate declaration of gid_cache_wq 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 Signed-off-by: Leon Romanovsky Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/infiniband/core/roce_gid_mgmt.c b/drivers/infiniband/core/roce_gid_mgmt.c index c0e4fd5..a4fbdc5 100644 --- 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