Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp315465pxf; Thu, 1 Apr 2021 01:42:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwStR+4X53cQhcGqrMFpDic7sC81FPla9Ph7I2SXIE20BI4zwtTm0bYBiDdf9Y4sAnWv51C X-Received: by 2002:aa7:c1d8:: with SMTP id d24mr8507846edp.290.1617266559961; Thu, 01 Apr 2021 01:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617266559; cv=none; d=google.com; s=arc-20160816; b=xuW6YbKCgTsoiH3Zw5MUmLDwpTP8VFwqK0OM3RajdIVLlUEckb8SDE/pON0vGIHEMJ yhH2aZ7W7owY2O4Rcxu7lz+7l9yTYg1NbiFCBC6z4DyQzs4Q43nnLqxz3pvKAxK/JNTV Yb98QsO9Q4EcZ5J9T4apfHI6E37XTsusNuh6xq8s6seg9uP3JC6tvYgaK1lkvqcZc0IW QKcayNLjqLtKQekRNQfrDqsnI34pFXwPh7lOV/zrnM+lVE25uoaqwqPEPCFTNeD6DLue v+QL1zkI6sJwXMVLeJV+H4CGRmXFPg+7pn5qzGJEm5HLdnlbCC1eIMD5UQD5/d10tDUT eWRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WNonVgbpsbrFf/H00xrZSH1wvjJl/L+1JrzekPFJCIc=; b=AIGalyu1QtiQ70bS/PB29dOiUm9/czuAJv3jgY8FoJi0CLbBiAWl4asb+htJUNoO68 HkzakkR+9l/bc4Vqr/hn8st8PH4e0GZE8jUY4rP2Bex8Y6vCTPCqFmtZ48cfbUEMiobv kG6SaZoqSBFnj+9DBVqDKOr7v5kYC1mluit6wUTpUlgIJp7w2q0DV2wHFd2JMlDMqPwU 5vTe91dEcTyEXo6e8V3MXlHhlL2l9bzL0ibpKNKD8o4gMhQSaxmsxBFeh0f1tUlryhab mwtqSB/ize4xbt0G1N1MXH5sTFAZDXTKyT4FBqJ/K75hdeyGWc5O3Nfa+tNiZW0oJDV6 6p7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do3si3906044ejc.486.2021.04.01.01.42.16; Thu, 01 Apr 2021 01:42:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233394AbhDAIlL (ORCPT + 99 others); Thu, 1 Apr 2021 04:41:11 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:18350 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhDAIky (ORCPT ); Thu, 1 Apr 2021 04:40:54 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 116E99800B6; Thu, 1 Apr 2021 16:40:52 +0800 (CST) From: Wan Jiabing To: Karsten Graul , "David S. Miller" , Jakub Kicinski , linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] net: smc: Remove repeated struct declaration Date: Thu, 1 Apr 2021 16:40:29 +0800 Message-Id: <20210401084030.1002882-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGh0ZGB1JSUpNQk1CVkpNSkxJTU1PTklITExVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MBg6HSo6Sz8ROCsIOBotCSI1 OQIwCkNVSlVKTUpMSU1NT05JTEtLVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTUJLNwY+ X-HM-Tid: 0a788c97a764d992kuws116e99800b6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct smc_clc_msg_local is declared twice. One is declared at 301st line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- net/smc/smc_core.h | 1 - 1 file changed, 1 deletion(-) diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h index e8e448771f85..6d6fd1397c87 100644 --- a/net/smc/smc_core.h +++ b/net/smc/smc_core.h @@ -410,7 +410,6 @@ static inline void smc_set_pci_values(struct pci_dev *pci_dev, struct smc_sock; struct smc_clc_msg_accept_confirm; -struct smc_clc_msg_local; void smc_lgr_cleanup_early(struct smc_connection *conn); void smc_lgr_terminate_sched(struct smc_link_group *lgr); -- 2.25.1