From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CF4D6A034F; Fri, 12 Nov 2021 15:46:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89C8E41158; Fri, 12 Nov 2021 15:46:22 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 3617C41157 for ; Fri, 12 Nov 2021 15:46:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636728380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ki2qgWYJMrAgYgNx/3J7e/E6p7AO31cKSKwUZqm69rg=; b=InvJY2NI0HVExH+amFYCusu5A3YIgzBuJlm2idSLuAPhKX/so1fmGnYPPIdaEgOoY4QAh9 CYSIUni7GtAqGRKaOLw2JzQDpxv9TsbqgsOk3LIXRNYN9jvh61O86/oaYhkEV9sBEIT6II 5fX6n0QHK8zhceba6/YY54Gh2nBykPI= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-130-nFNo8ijpOXmyzk6FcXDYQQ-1; Fri, 12 Nov 2021 09:46:17 -0500 X-MC-Unique: nFNo8ijpOXmyzk6FcXDYQQ-1 Received: by mail-lf1-f69.google.com with SMTP id bq29-20020a056512151d00b003ffce2467adso4016038lfb.3 for ; Fri, 12 Nov 2021 06:46:17 -0800 (PST) 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=ki2qgWYJMrAgYgNx/3J7e/E6p7AO31cKSKwUZqm69rg=; b=YMjSwbfTd3zBMbdRbyXdbjnuScE5p5I184jFPV5fgZUNpK83k1QYa6sZ3K2z6/8KVW VtTX4Eitq24RGn4AlpwS0haCrM4NzxUEbXQ+64gK7DceYO77QqdgBhjoOhL+wztoIXtb VwgiSvwnkZ0AWOaSUfcllmQybbM9CZh7muGHmL9Pa7VUXrzzezTW2IIEOd8wGQ10Fg2/ UaavIATqf4camxIKr7ve2Gisoz/krEfZ5So31eLY5XjwV8wkyj+WBCMOOHY8hyRRKDvY +Cu+MGLd3QF54/AoQ1loDczU93c/DT75uj3GcSTHwVvNe5CjLcaUBb0I/SZySMk3hR9E UNSA== X-Gm-Message-State: AOAM532MEQ+OT0cRDWrGgz7E6HOJbWlIdyD94IxQrNq7ioPiijWBwPsw XmYYwiDms7N+k8q9UmEP0noEUy+rZy+TWy74qULqFmIGjtyGP0sGz5Frw6bcikU1DUHUq1W9R4f LxIWZZMyp17jSH3XXOM8= X-Received: by 2002:a2e:8189:: with SMTP id e9mr15746752ljg.333.1636728376022; Fri, 12 Nov 2021 06:46:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8dOfGe/MpGMSzpGR+ycj6K0axXrSr7bteetdmmCzyoOgv8GrUDeKzQkE8ngHBtn8pRF8An8mDCefvWDGSXX0= X-Received: by 2002:a2e:8189:: with SMTP id e9mr15746717ljg.333.1636728375747; Fri, 12 Nov 2021 06:46:15 -0800 (PST) MIME-Version: 1.0 References: <20211105155351.350403-1-james.r.harris@intel.com> In-Reply-To: From: David Marchand Date: Fri, 12 Nov 2021 15:46:04 +0100 Message-ID: Subject: Re: [PATCH v2] power: fix unused-but-set variable error To: Jim Harris Cc: dev , David Hunt Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Nov 8, 2021 at 9:40 PM David Marchand wrote: > > clang-13 rightfully complains that the tot_ppi > > variable in update_stats is set but not used, since > > the final accumulated tot_ppi results isn't used > > anywhere. > > > > Signed-off-by: Jim Harris > Reviewed-by: David Marchand I split the fix and marked it for backport. The cleanup on unused metadata is merged as a second patch. Applied, thanks Jim. -- David Marchand