From nobody Mon Feb 9 01:45:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1578336268; cv=none; d=zohomail.com; s=zohoarc; b=jafRAVOhdZ1QO/FOWES/fJwEPJ6nGcn5aIpNG9/ju1k/soTiJ25++BthDc3XD1jij8g1Xc1JSxBCcBjt8yWw3N8s75Cb5/VH9aoEYTbSiDWdLQ7DzIEgX8CNHkzmAbX3xq7Q6b/j5MU4was71mPOFBanBHxLfvLRdTqQwLLcND8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578336268; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CkaRW9GkcqQi8J8yq9bVtroJ/RDDzEhUPcZDuYcLtVI=; b=RYUlh8VNhpKi005VW9tP1VpOqzaSnKB5r/7WMMm/cqDPQX9ZZa/w1NXr32kOrrMOxjFqHb6oUFOVdWgJY8nfTBu/BivRatVI6puFwVwRvoFXm8QwsHgdnusD3kxDVH+h02oAblvCb8axLwkzZ4pmNFlO4A0le8XYugD+Yxq7CqU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578336268038303.00142885341734; Mon, 6 Jan 2020 10:44:28 -0800 (PST) Received: from localhost ([::1]:57966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioXMY-00023B-L8 for importer@patchew.org; Mon, 06 Jan 2020 13:44:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45890) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioX4X-0002ff-Lu for qemu-devel@nongnu.org; Mon, 06 Jan 2020 13:25:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioX4W-0004aM-N1 for qemu-devel@nongnu.org; Mon, 06 Jan 2020 13:25:49 -0500 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]:34262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioX4W-0004a8-JT; Mon, 06 Jan 2020 13:25:48 -0500 Received: by mail-qk1-x744.google.com with SMTP id j9so40690522qkk.1; Mon, 06 Jan 2020 10:25:48 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:655b:9e1c:e865:3705:e1df]) by smtp.gmail.com with ESMTPSA id b81sm21026522qkc.135.2020.01.06.10.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 10:25:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CkaRW9GkcqQi8J8yq9bVtroJ/RDDzEhUPcZDuYcLtVI=; b=THZ+VBYYtFliiVYANai24SLT6IuIr98gBcUYXtT44BxIf9LmqYCPtB+2Z7xsj1vLrp C8EdITVO5MbvcLZJqlsQFMm09UdSZL+MlnrCmfGyun1SbdBQpsiK7EC8Zid51x2kH6xP ooPpOlHPNt+vsQKIkffhiO7qORT+csTUw4eFo/MT4EsfBCqpMj9zlkotHadecCiKW1JI 6Vkac2vshedLgJP9lEU1ABl4L6nR4s2KI0KQWjtD1RNr4DBUrilbRDqAon8BeztN3kKV 7qurbXz+bygD/ok5+fnqitSdFtktz4GkPWoub89oxyX+2e34VyEAmmLpB0cldlkK0pnh knMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CkaRW9GkcqQi8J8yq9bVtroJ/RDDzEhUPcZDuYcLtVI=; b=H021zkB8N3jwijj+lQqDZ1olfm1yue9AMRKdz8BmaHeoQXsIKqeKYVBsO97YPhhVxB QjJAmkbQcjE8PZDhSf8Dc8iTxp0RAMUDXSLAPMTMWDq+QqqBVmFCK11jEzVg7OVVw/OB iTszSjpMtd45HpIK6EYgo70E3njOBPgz6dlWajhTGy2v2CPCF6rCEW+7vOv4B9gkcNrU vtygPB5uoXPxUdAlmc2We+varI54UJ5P2VQteCGo0nYbUowFw596BWeeQ2FZiTT/PW3O 9apqN2YVpHX3L9WdkoqjBzKn6teyYr15S10twKXkv3oLg25fmHVR69NG/inr2G643g6C 5rIQ== X-Gm-Message-State: APjAAAXxRHKUSxFOhA6ymUDolQkjaHDgFWUvAi2QIgeUr/t0t6abGtRF zzvR0qZDe+BgRUUoFtWyrBESgvPY X-Google-Smtp-Source: APXvYqwn+VqbjFcIZj2wWG/ZmvQIU2j6SovxRbLRfHDACElrSjqiPVjK7h8ipfumIYTJ68eww7+OXA== X-Received: by 2002:a05:620a:6b8:: with SMTP id i24mr86401008qkh.9.1578335148022; Mon, 06 Jan 2020 10:25:48 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH v1 31/59] util/aio-posix.c: remove unneeded 'out' label in aio_epoll Date: Mon, 6 Jan 2020 15:23:57 -0300 Message-Id: <20200106182425.20312-32-danielhb413@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200106182425.20312-1-danielhb413@gmail.com> References: <20200106182425.20312-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::744 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Paolo Bonzini , Daniel Henrique Barboza Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" 'out' can be replaced by 'return ret'. CC: Paolo Bonzini Signed-off-by: Daniel Henrique Barboza Reviewed-by: Thomas Huth --- util/aio-posix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/aio-posix.c b/util/aio-posix.c index a4977f538e..7c4cfea8ce 100644 --- a/util/aio-posix.c +++ b/util/aio-posix.c @@ -121,7 +121,7 @@ static int aio_epoll(AioContext *ctx, GPollFD *pfds, ARRAY_SIZE(events), timeout); if (ret <=3D 0) { - goto out; + return ret; } for (i =3D 0; i < ret; i++) { int ev =3D events[i].events; @@ -132,7 +132,6 @@ static int aio_epoll(AioContext *ctx, GPollFD *pfds, (ev & EPOLLERR ? G_IO_ERR : 0); } } -out: return ret; } =20 --=20 2.24.1