From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05A8FC433F5 for ; Mon, 11 Apr 2022 18:41:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B3B3183ECA; Mon, 11 Apr 2022 20:37:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="IAscapgN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B94D083E59; Mon, 11 Apr 2022 20:36:33 +0200 (CEST) Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8866D83D28 for ; Mon, 11 Apr 2022 20:36:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-de3eda6b5dso18295849fac.0 for ; Mon, 11 Apr 2022 11:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gxjK97KjFTyUEq5KojOCyfZiKMb5I9AzMDUr+QCTk8Q=; b=IAscapgNUrNfHQep/vkxUY6s5lkbokf1IypWnvOFgamlHEjwx+JNk6/tvhKj68FEH+ VUAL9VmGavERATL5+noaS/hs9w5yIXq2B9wLKW+i4y7M+xabXY4DVWWiwEc+1LYCG90f 1HKT6Zscemc5+5rWfY8P8a7lqrVwujCZSwT+s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gxjK97KjFTyUEq5KojOCyfZiKMb5I9AzMDUr+QCTk8Q=; b=vr07r4GsBt4RNjbzmWOSOY4x8bXRegrz1E/ZvL8K6mI9jzEcqJWt5MBhbAXATntUME 0QB1s6JJnsYV635ajRZ/7OzMgGY2COz+Gw4UxuuCzWW5LPv5VJnoDJLVEHobZ/01XccG qFxHnHLdd4OhILlOtaTo2Bk5RV04tIaCoUDVKp3ofj54z/dvPFnvixjaaQ0bDY+fnEic 2VrCjj7/ItqYiXPl6/FxowRhfbvsHAI4+Rp8y25e0IWExAUATpyWKrXB6L+YeIjazHHm g7+mew6111MVU8Xy7Z4llhwighBO7qZpZmaM+DdsoLvxyy3SiRUP+cYTYr2f8mdSAmma WlsA== X-Gm-Message-State: AOAM530fM67uTuWT2xZH1g2P5fI6b4XkbgmxCx997p1Ce3bcHnihw55p /6R7L/d9dzS1pPwHTJWn0oT7KYIHKJ1h9Gsacdp00g== X-Google-Smtp-Source: ABdhPJx8TW7Zfv/GzJvItcLU6Z09NHc8mqPWCGku6YzDTHvM34YVR/yPpY0RAi/VaLSHVLNkYfmcQB/5Uqy383+tAns= X-Received: by 2002:a05:6870:898f:b0:e2:c13a:44d9 with SMTP id f15-20020a056870898f00b000e2c13a44d9mr306490oaq.170.1649702189138; Mon, 11 Apr 2022 11:36:29 -0700 (PDT) MIME-Version: 1.0 References: <20220331100949.3637425-1-ascull@google.com> <20220331100949.3637425-2-ascull@google.com> <2cb9d99d-fc8c-8346-0e68-e89429dc7b99@gmx.de> In-Reply-To: <2cb9d99d-fc8c-8346-0e68-e89429dc7b99@gmx.de> From: Simon Glass Date: Mon, 11 Apr 2022 12:35:34 -0600 Message-ID: Subject: Re: [PATCH 01/11] virtio_ring: Merge identical variables To: Heinrich Schuchardt Cc: Andrew Scull , Bin Meng , Alistair Delva , keirf@google.com, =?UTF-8?Q?Pierre=2DCl=C3=A9ment_Tosi?= , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Thu, 7 Apr 2022 at 01:03, Heinrich Schuchardt wrote: > > On 3/31/22 12:09, Andrew Scull wrote: > > The variables `total_sg` and `descs_used` have the same value. Replace > > the few uses of `total_sg` with `descs_used` to simplify the situation. > > > > Signed-off-by: Andrew Scull > > Reviewed-by: Heinrich Schuchardt Reviewed-by: Simon Glass