From patchwork Tue Jul 17 13:34:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Sitnicki X-Patchwork-Id: 945053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41VLwX4TjQz9rxs for ; Tue, 17 Jul 2018 23:39:08 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E23FFCDF; Tue, 17 Jul 2018 13:34:36 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 8D5A8CEE for ; Tue, 17 Jul 2018 13:34:34 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 20449FC for ; Tue, 17 Jul 2018 13:34:34 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id b15-v6so1284838wrv.10 for ; Tue, 17 Jul 2018 06:34:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=0UrVT4Y1Xv5GwNK836PM61kF9Lys5pWUwWHAD7j0Jb8=; b=sq5PFBeIkio8xGNLNJQa40Ov2BD1WOsuGOkofAgxPphN44/+aat8mRcU2YrJUwXyOB m2z+YtvjZVgYAFsBJIStURpYOVxyNsaV00EmxcI2J7l84KN5W0GRMGvShPNulf8vf2fd LQlqdyouvfJB2PrBQ0sH836ED70FzRGPq4Hilk4Mqy66aRvz96c4Z1Rsy+BX4p0lkJfQ nZWT4xLGSwac5C8dVL7d2ua+NcH6v/+Hqz1ppPb2fZBJ0PpPAE98lZzf/Le2oAI1t0VB G0zX3fDiUkChXT44rsCLyyz6Es/bGJdFBdldzn/wuZNJZGcwehHQdFmDYmxXJ/OLhrar UKzA== X-Gm-Message-State: AOUpUlHuuspcEkACLOJ6X2KPj6xrVl3YcsB9gG5eY3r+iibg7JGmISVO Yn8+DOfHPLjl05I/Xzjxl+o/6wPl/s8= X-Google-Smtp-Source: AAOMgpdD3SwjKr7yIagGCys7KJQ8YHNebEwjlCY9BaKPHutiwb8yviJo+dr/YUAHMQfCn9S/JxDFLA== X-Received: by 2002:adf:c98d:: with SMTP id f13-v6mr1446225wrh.148.1531834472525; Tue, 17 Jul 2018 06:34:32 -0700 (PDT) Received: from redhat.com (218.red-2-136-166.dynamicip.rima-tde.net. [2.136.166.218]) by smtp.gmail.com with ESMTPSA id v10-v6sm1720702wrm.18.2018.07.17.06.34.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 06:34:32 -0700 (PDT) From: Jakub Sitnicki To: dev@openvswitch.org Date: Tue, 17 Jul 2018 15:34:14 +0200 Message-Id: <20180717133415.23781-11-jkbs@redhat.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180717133415.23781-1-jkbs@redhat.com> References: <20180717133415.23781-1-jkbs@redhat.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH 10/11] ovn-nbctl: Remove pointless "return; " at ends of functions. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Fix fall-out from applying a semantic patch that converts ctl_fatal() calls to use ctl_error(). Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index 8301e74cc..27e3151a8 100644 --- a/ovn/utilities/ovn-nbctl.c +++ b/ovn/utilities/ovn-nbctl.c @@ -1149,7 +1149,6 @@ nbctl_lsp_del(struct ctl_context *ctx) /* Can't happen because of the database schema. */ ctl_error(ctx, "logical port %s is not part of any logical switch", ctx->argv[1]); - return; } static void @@ -3787,7 +3786,6 @@ nbctl_lrp_del(struct ctl_context *ctx) /* Can't happen because of the database schema. */ ctl_error(ctx, "logical port %s is not part of any logical router", ctx->argv[1]); - return; } /* Print a list of logical router ports. */