Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp456542ybc; Sat, 23 Nov 2019 01:46:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwiDybW4OypPNhYSEEihsBqxyasEhY/g7uTDhG8xHQsiutWKz36iFSSH2BxaAdMrEvfOi+1 X-Received: by 2002:a17:906:f10:: with SMTP id z16mr27226556eji.211.1574502391328; Sat, 23 Nov 2019 01:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574502391; cv=none; d=google.com; s=arc-20160816; b=x7IenVcFutYgCtfexYpU9KGA6kXRsIq2Yp64USf24sSPcO/U9lcuGksu4jmD+w/FIh FoDncSOOtxlIeG444CikmDBTVHXMHWLPR48zSM2NrbaQHTUjAsdz7wEgQyqu83NYy3bc UjUQJouPYqlj/KJqYm7Jz+EGP8X4BXLdPGyIU/vZQ1NcQynxVdUrf4DEVjxL+XkAO62/ J08+WfXpCCjvnZ/Gfxuvdbe7BDUl0lSZBphgvjOOm4rieQKotYWFok3oOtUkSim3vWiN 410inMghspAUnL1RigfOPiVcotsFkXhJFtDSRsNb5uYKldb5tCRB/UJRmxmwZ9v9qAoW D1KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZFVPcc7HYr1DXGBw6B0Y4i+GsNOxok+nW/sn0ODa37c=; b=LYWGQdXDn27X45OmM3xnxYt2oDFTqg3LfQP/uasINVwSX2BC73dQbEKGjTl8vP+A1h kmuOYIk720iKJSf1rNv1LBeaWlGK4q31XTTWY833cGfuBLHYFIrIDRxN7p4D2i0t85QA Dn3uGXrh7B8uz8basyvCnm0YjFfnu8GtcfjdBXgHLEqY8cpo7eAR0PpxbbMXEmwwavCZ L4oRXH95nsgSseJoo3GAmMRIa9lq/uZfIm6Gjorsc0/BMxBZzoAKcpIer36/5tfUrYMr /izw86jx1tYoYiB9csDg6TC2tcurwj3yZ4yMntDWtjPiUTPmBEgz3lUkDOCjtjpTjcqe OVug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=euWLHJsj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t26si522542edc.102.2019.11.23.01.45.55; Sat, 23 Nov 2019 01:46:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=euWLHJsj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbfKWJk0 (ORCPT + 99 others); Sat, 23 Nov 2019 04:40:26 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:44039 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbfKWJk0 (ORCPT ); Sat, 23 Nov 2019 04:40:26 -0500 Received: by mail-oi1-f196.google.com with SMTP id s71so8780279oih.11; Sat, 23 Nov 2019 01:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZFVPcc7HYr1DXGBw6B0Y4i+GsNOxok+nW/sn0ODa37c=; b=euWLHJsjDSHHUhkFQukkJpi2+WtZ1HbLt8BUlnTyoyjnbXvZphRUZ5t1XCw6ctv+A0 3kZEr7epA1kbMe/eyMznLKzaL5PZf4vV+oenEeRhrZz+B/Jju7kFTImB4WMidU3SYgD9 YiXBW5PGty7bH9evcidnP4y4UaLO7cTVUdHaYJ9MTsdLz+a+sLyTIVk0wYi+AwZJ3Hh5 zBopbKC8G8wFzUBY3pvfkvn8rcm3U/AABEi5gkzb7FX4L3hO83HMwDsDR8/3XxrCSdn2 kb0Qca99DNNeDl8qpcoy+kdLzXR9qv1REcKOsDFPpduKskFl/z+RaoXqorTpMZyNDkYQ h9Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZFVPcc7HYr1DXGBw6B0Y4i+GsNOxok+nW/sn0ODa37c=; b=W+zxHWpDP6nD7oY3HmA0NcD4VcGC64onSuWh390Sbf9rUIPPw0fpJxo88TzLcbvqI5 udB7dc/5q6ksOsI0KaZ9art34hfqKHqd5CErI7Ryy3hxuEvX3vkfwB8CThpDft2KUjug 6rjHgOCcAyLZYJcSy46fgWULc8zaCwfLWMJfTRRyLzmiSx0ckDJ9djcjD5YypTIet6/G +Ed2Y98OrYyyCf3Vln0enD6N8dl2zDEViJKuOCpFti+QCplLdxVChH/EOzMk+dQMVebK 3LfvN5cLSkTcXAOGO7tLir0QdPQki5vaZnzssUHvKihk5qAf0h0hWrdywSnJLDwLQTNY WhqA== X-Gm-Message-State: APjAAAWueFDSK/nmOPmlYUKaqNqfYSBXiOUxgggCNoqWnF1KyycpJ4Jf b3aSOaqN7jW5N/hAFOa2Iv272TNwKXE58iBYqSk= X-Received: by 2002:a54:4815:: with SMTP id j21mr15579811oij.15.1574502023475; Sat, 23 Nov 2019 01:40:23 -0800 (PST) MIME-Version: 1.0 References: <20191122225210.109172-1-colin.king@canonical.com> In-Reply-To: <20191122225210.109172-1-colin.king@canonical.com> From: Martin Blumenstingl Date: Sat, 23 Nov 2019 10:40:12 +0100 Message-ID: Subject: Re: [PATCH] rtc: meson: remove redundant assignment to variable retries To: Colin King Cc: Alessandro Zummo , Alexandre Belloni , Kevin Hilman , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Colin, On Fri, Nov 22, 2019 at 11:52 PM Colin King wrote: > > From: Colin Ian King > > The variable retries is being initialized with a value that is never > read and it is being updated later with a new value in a for-loop. > The initialization is redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King thank you for addressing this! Reviewed-by: Martin Blumenstingl Martin