Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1988292pxj; Sun, 16 May 2021 10:25:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCoFMFWJw7n78LtEODq7W3PBXgqQ9sLUz5pEm506zpi/NK6BFxEmNyS8iBv8MLrhxPxBF3 X-Received: by 2002:a17:906:cc48:: with SMTP id mm8mr58090666ejb.344.1621185958109; Sun, 16 May 2021 10:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621185958; cv=none; d=google.com; s=arc-20160816; b=YDGboSiR5FOsbWYohhKQw4UlE/qt82Jq7SlY0fM6V7r0cx+bkFvJqsf+6zlHmko0Ns svVtU6HewgRRdgDyuiObIVqrDLzf8VGdD0WsfQP/lNJUd0xDV5tCIvodcvVn8oj0d93S uwW6PWeHPhy3MPSIyhALUF9ZyFgvtOJ5urlCjuNGxJBeZM7MF6Tneike2LzoGVd4iFiM IhGR+kAJLDffS8JI00ZwykjlfUd8HlYtiY46HVJHhyGBpCoVYroZaVmdU2P4PerHB/15 8/LJhyqzFuvQLhnqDtGKgZzvLOcUhgr8m/LU1jw8K3CKLOzoYQwFzX1zPZzEobuRRO7Z Rhvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AtiJHfdmT2LSVR4rbNIaNF36Xfs944KqtBektfTje5M=; b=oUFArVJnArhyMh9GwMrKef0oGhG0NyjQ1VFhGyQhA3QKUx1EtjIrUlDERvP1EK0XY6 3F9/yFKytPM4pUTSsq8PvL8DOgY8rHc8+cBiy0FWdIFWYe1KF2DM67mHRp6VitehRYw9 ixhTHdHpnwUmJQfkUu58lxwa4fh5UtaF/I8aflJnXuu4EDFFoR0JXSucmL8B9ME5QPw9 BNMDJhh75uFWx3hUxDJm0jv3CxbusgqKXFWwy8qnlCVyfc6fuLUaxwV284d/FW1WyUZo aRBbYQoXDc8qHx1AIiYZA96YMrtRg6Qs0rsOGl+2wBgqs1A0gx9+8h/Cfk63s8FFmEpe Orwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b="DAGiCJN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id s16si10071732ejd.328.2021.05.16.10.25.34; Sun, 16 May 2021 10:25:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b="DAGiCJN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231203AbhEPRDN (ORCPT + 99 others); Sun, 16 May 2021 13:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhEPRDM (ORCPT ); Sun, 16 May 2021 13:03:12 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66AE1C061573; Sun, 16 May 2021 10:01:56 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id z12so4281436ejw.0; Sun, 16 May 2021 10:01:56 -0700 (PDT) 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=AtiJHfdmT2LSVR4rbNIaNF36Xfs944KqtBektfTje5M=; b=DAGiCJN/B0AuQYxR2YMS1YdLG7E04XbNnAThdGjmBoPVyWeVm0Vt63bTbv2eoScYRQ SvAEYLrzwnmzOR5wp1CC3RKN4hyBnHKWJQKmPAax8xiYeQN0kxz2jQJP+F4Eg3PnYmne 1tPqS44UJ6bIQx53XCLEzkUDSA0PKYzdiJ1Bm8Ux9G1YFwdM/2HDZfALKNqSjTCpM2/w /Rh5WhkPS0VtYInMu//A4ZE4YYK/MTrUiFkFfqoKnAk9XrjylD1xFHqznvRukMuPJ097 ZgkrbbJ358Ttx/9WXCUX4sI2HnbgR0YAj0ln5t6NUysuwZ90LddsWhtadieg1uDXWzMv XHaA== 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=AtiJHfdmT2LSVR4rbNIaNF36Xfs944KqtBektfTje5M=; b=rrJxHhVmnvwPsE9bFaNTi/KrxzBoPJmlOu2MQS6pU4umeWuXMrTSdKE+pwLgMhO9s4 LBqa8MFVADkyrmp7VALoSNHIk7MBpwYNGyDHnYy8HKEiWOAEEenjVCNsNc/3o6zsJiHW gE6IUKDg1T7DsFeSGXda10xL3C3AENAJcPANf3lh1iyNSk3hvyxzjPe346srvu216lnz FXC2fyZXpxXjYrdH5FrgOzhllgyAigba4gbGYitiRqbyDN/4zASFbwpdM0ROdi13Go0T esV1ogqTUSYRann4fwIUgmzEMkN4MxlimP2pqyauT3grOjOYY0s99HQCALwjBvbsiwbR HZkQ== X-Gm-Message-State: AOAM532Buv/UX7vrydWqZkAWLUlkY7o9/Cj95UKbb85FFvA9EMD7U6CP n/UI+gU/fViWIVBpwhIfJq4HqadiTK/RF3oG2Q4= X-Received: by 2002:a17:906:57c3:: with SMTP id u3mr59329306ejr.162.1621184515178; Sun, 16 May 2021 10:01:55 -0700 (PDT) MIME-Version: 1.0 References: <20210513220317.137090-1-colin.king@canonical.com> In-Reply-To: <20210513220317.137090-1-colin.king@canonical.com> From: Martin Blumenstingl Date: Sun, 16 May 2021 19:01:44 +0200 Message-ID: Subject: Re: [PATCH] media: meson: vdec: remove redundant initialization of variable reg_cur To: Colin King Cc: Neil Armstrong , Mauro Carvalho Chehab , Greg Kroah-Hartman , Kevin Hilman , Jerome Brunet , linux-media , linux-amlogic@lists.infradead.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 12:03 AM Colin King wrote: > > From: Colin Ian King > > The variable reg_cur is being initialized with a value that is never > read, it is being updated later on. The assignment is redundant and > can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King Acked-by: Martin Blumenstingl