Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1686884pxb; Sat, 15 Jan 2022 20:51:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTnhB50H0vfaklJwKRhojMjlCzKmxl0ln8gQrO4f5HcibBxEIY/6q0gM10KsyuypZK4Hgs X-Received: by 2002:a17:906:6a26:: with SMTP id qw38mr13511324ejc.518.1642308669639; Sat, 15 Jan 2022 20:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642308669; cv=none; d=google.com; s=arc-20160816; b=XT6KpPF0rHMarXFljJThJZi5ITvrvPnAM0YSgbZTXlFqB+i0CPVRpL1vHREqriraG1 nexJUbPyzFfsKpxSgjDg8QTCGp9Zo+LbO9I9yC85r89EonoXL8Wb2c5nICcNKrB8YUdp z3dMmrWpkP4seTpMekH65wGd+i5GANe1BtTIBzUoP84OLPMAJqmvVA+7a2MAfjriq8c1 fePfY9XoMKyqwwhQP6EV5chIsCbiYauCS4JWASXiS5accj3gVP4YZ91YbWviab4jb1fY V0XoG0usqvnzZ1wPDO4AuffRg92x8tEkviVxNFaUl2QKpBMCXkYlV3bxgk/SAYlxDRDD jQyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date; bh=hWTcD26JbTEpmJl1FviLpQtNoDfoQvOPrT/GYTnuO9U=; b=icpW2Uspd5zn9QIAMBSdqjy3RBdvp2iGJ261lvZzY6ILjEuaIHW5NchMc8dwBeletL L2fsO71qp38e1jhHciSCYGlRPGzVUVsRaIldceyEOhxU0BiMglagsRoCccGdK6oDHe1V XBjkJkyIkgESBQD2M2AhTZwuNCk/bCWBvwj6SMWV5CZM69jNoqcIvBK/Z18WbJYfa9fP ApVIiF80BGtsSwB4jMy87/KAoL4rwwPv1y057mCNWXsWAE9QVTYsEtRiYXwednfjgu4v ahfcAvIp6dbLJjzIXl66fWVHUBVcPyacaGYDu7A6r/BoABVMUmU3OV5pljdQAsZ8exga uh5A== 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=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz36si6323922ejc.478.2022.01.15.20.50.19; Sat, 15 Jan 2022 20:51:09 -0800 (PST) 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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232848AbiAOK0D (ORCPT + 99 others); Sat, 15 Jan 2022 05:26:03 -0500 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:51350 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbiAOK0D (ORCPT ); Sat, 15 Jan 2022 05:26:03 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R661e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=dust.li@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0V1si0dd_1642242360; Received: from localhost(mailfrom:dust.li@linux.alibaba.com fp:SMTPD_---0V1si0dd_1642242360) by smtp.aliyun-inc.com(127.0.0.1); Sat, 15 Jan 2022 18:26:00 +0800 Date: Sat, 15 Jan 2022 18:25:59 +0800 From: "dust.li" To: Wen Gu , kgraul@linux.ibm.com, davem@davemloft.net, kuba@kernel.org Cc: linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net/smc: Remove unused function declaration Message-ID: <20220115102559.GA13341@linux.alibaba.com> Reply-To: dust.li@linux.alibaba.com References: <1642167345-77338-1-git-send-email-guwen@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1642167345-77338-1-git-send-email-guwen@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 14, 2022 at 09:35:45PM +0800, Wen Gu wrote: >The declaration of smc_wr_tx_dismiss_slots() is unused. >So remove it. Sorry, I missed to remove this > >Fixes: 349d43127dac ("net/smc: fix kernel panic caused by race of smc_sock") >Signed-off-by: Wen Gu Reviewed-by: Dust Li >--- > net/smc/smc_wr.h | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/net/smc/smc_wr.h b/net/smc/smc_wr.h >index 47512cc..a54e90a 100644 >--- a/net/smc/smc_wr.h >+++ b/net/smc/smc_wr.h >@@ -125,10 +125,6 @@ int smc_wr_tx_v2_send(struct smc_link *link, > int smc_wr_tx_send_wait(struct smc_link *link, struct smc_wr_tx_pend_priv *priv, > unsigned long timeout); > void smc_wr_tx_cq_handler(struct ib_cq *ib_cq, void *cq_context); >-void smc_wr_tx_dismiss_slots(struct smc_link *lnk, u8 wr_rx_hdr_type, >- smc_wr_tx_filter filter, >- smc_wr_tx_dismisser dismisser, >- unsigned long data); > void smc_wr_tx_wait_no_pending_sends(struct smc_link *link); > > int smc_wr_rx_register_handler(struct smc_wr_rx_handler *handler); >-- >1.8.3.1