From patchwork Fri Jul 15 06:03:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangchuanlei X-Patchwork-Id: 1656885 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lkskc46Nvz9ryY for ; Fri, 15 Jul 2022 23:33:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id BD94F85020; Fri, 15 Jul 2022 13:33:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org BD94F85020 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cpBn0FYtQR0J; Fri, 15 Jul 2022 13:33:26 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id 0250884F9A; Fri, 15 Jul 2022 13:33:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0250884F9A Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D0268C0035; Fri, 15 Jul 2022 13:33:24 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id CD04BC002D for ; Fri, 15 Jul 2022 06:03:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 92309425D4 for ; Fri, 15 Jul 2022 06:03:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 92309425D4 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k7XG3GGinTuv for ; Fri, 15 Jul 2022 06:03:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C53A5425C3 Received: from ssh248.corpemail.net (ssh248.corpemail.net [210.51.61.248]) by smtp4.osuosl.org (Postfix) with ESMTPS id C53A5425C3 for ; Fri, 15 Jul 2022 06:03:19 +0000 (UTC) Received: from ([60.208.111.195]) by ssh248.corpemail.net ((D)) with ASMTP (SSL) id JDS00108 for ; Fri, 15 Jul 2022 14:03:08 +0800 Received: from localhost.localdomain (10.180.206.78) by jtjnmail201609.home.langchao.com (10.100.2.9) with Microsoft SMTP Server id 15.1.2507.9; Fri, 15 Jul 2022 14:03:13 +0800 From: wangchuanlei To: Date: Fri, 15 Jul 2022 02:03:09 -0400 Message-ID: <20220715060309.508139-1-wangchuanlei@inspur.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Originating-IP: [10.180.206.78] tUid: 2022715140308f390d17c48bbd38bc927739b8cc543b6 X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com X-Mailman-Approved-At: Fri, 15 Jul 2022 13:33:24 +0000 Cc: wangchuanlei Subject: [ovs-dev] [PATCH ovn] pinctrl: del redundant row. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" The row of code is useless, need to be deleted. Signed-off-by: wangchuanlei --- controller/pinctrl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/controller/pinctrl.c b/controller/pinctrl.c index f954362b7..80ae9f01d 100644 --- a/controller/pinctrl.c +++ b/controller/pinctrl.c @@ -7527,7 +7527,6 @@ svc_monitors_run(struct rconn *swconn, svc_mon->next_send_time = current_time + svc_mon->interval; next_run_time = svc_mon->next_send_time; } else { - next_run_time = svc_mon->wait_time - current_time; next_run_time = svc_mon->wait_time; } break;