Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3587311ybh; Tue, 17 Mar 2020 02:55:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt/lTebHh9w2c+Zmtzmwb9Q/nePe2aVUbq0ivSDRo5LHN2ECjA5uQaMdq5DnMmLa1wT2VAO X-Received: by 2002:aca:4b84:: with SMTP id y126mr2701973oia.31.1584438937198; Tue, 17 Mar 2020 02:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584438937; cv=none; d=google.com; s=arc-20160816; b=ATEZvdvsQIeHI3QsoOe7cPTgLxjqIV6mCgt0+mvAp8QLMZ31Ntt9yFE3ACi4RlWxf7 oWmiMCDj4WdukiPCGyTRisH/fJcYNGZuIysa2mqeargRSZtfd9iqbKQo8AFukG4Z9pIG 36qOSpKY3wySDexF+VHuijmHxk5BFZU4T1e7/NSws4n+OodR0prlWwQMk7Wt4Cco+Gb5 BA7zhbsHBHVNA3+OXIuRAP0yXVrwSB30DVbk4raOv2tirtztq0eOF8VobJoRmZH2IzIg JIfGJ3zt0ynXPC/my9ulekeKhnmx4+Y7T7o2OA8MCXeKWCSF7JoBY+71hYl9zQwHuCcN esrQ== 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=Ahtq2mQzZ/hKQzTlMcOpLhf6uob8xhN3CPDjeFKWyEM=; b=gKiOhkpuStyk3UAuKraSG4cWGrelKgdr8voLwwlrfjS84u/atKm44IOPpBDyDX3uZ3 uQvnTLmsDjeXhCUg5t+tWxWpbxR/QdI2F2qACxHb83UGExfHCfH6moz30L4nU48CctYv +yBU4lKYiJqGlY9yeitSEtdxfz6MM9SeyJIVihENas9u0MY4BE+DKcU23ENeiTF56b/T us/dHUZRa3IUsMZJqoaWmGO50pe8+Y7OrRpvYPx9tHdtDd3MMrp5GZHrojIyZwy8C9Nv /kSAXiBZuwVxe/pRpP14kb/3hLHqVfmmC7IbV5Z3XT5DyG4iZ0yb7RI1PBzcmxtRUkQ8 7hMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=aGfwBsRG; 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=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d63si1511426oib.224.2020.03.17.02.55.23; Tue, 17 Mar 2020 02:55:37 -0700 (PDT) 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=@broadcom.com header.s=google header.b=aGfwBsRG; 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=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726294AbgCQJxf (ORCPT + 99 others); Tue, 17 Mar 2020 05:53:35 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38280 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbgCQJxe (ORCPT ); Tue, 17 Mar 2020 05:53:34 -0400 Received: by mail-lj1-f195.google.com with SMTP id w1so22054183ljh.5 for ; Tue, 17 Mar 2020 02:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ahtq2mQzZ/hKQzTlMcOpLhf6uob8xhN3CPDjeFKWyEM=; b=aGfwBsRGZVXeDImvcp1rxaXVNVG6sI22MgbooYe+Fj1c8fxvBgW1JJUhESsKVK12dh YGCH6QRWdfHOjrZGqWX5n5US/FhYIpo3wJovZ2G868vnRoVPGYgf1htRfNqFhBuToyPu DABPhm4gTU6Rekp3tY5L5NbchKoy0A+oaLQu4= 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=Ahtq2mQzZ/hKQzTlMcOpLhf6uob8xhN3CPDjeFKWyEM=; b=FwR8p0eObnYEDupr6nxdTiDfL/fUa9T7yxWCEn/Hc5uQyhL2m82anxfZkg/wq51vYG rFsxMFrPde4WinfmtaF3BPvW7l5IQsvYUJoKagezFhUnA8BKeoFVggy5wLscN9ouPmJ8 nRpxfbhIhpY7Ed+XB6CiRlQAaGeNeUNss3EntqWYo/0uhFy9NhJvPFxVo20U0D6ejJ53 xK2VopVBekCHToCnmpO6rpMw7RboaGP7uaKy23z1+tijosZOKb1oyfDh+RYcR1rLe+da DLNKITJ2ApwlRD+IXEhNE+dRHXl6bfAdat9vwcS8o1T+07ClXfEgbTobc2xX5VEduxJz 78fA== X-Gm-Message-State: ANhLgQ3Vfo9LuSr+47b2kZqVPHLTQpHJyoAvWy6hxZdPsg1oZFgpdAU3 XXHB7I40OAZqIg+1f53CVI264Bi541usgxvQx7fwscjp X-Received: by 2002:a2e:9214:: with SMTP id k20mr2344374ljg.157.1584438812259; Tue, 17 Mar 2020 02:53:32 -0700 (PDT) MIME-Version: 1.0 References: <20200317040742.12143-1-rayagonda.kokatanur@broadcom.com> In-Reply-To: From: Rayagonda Kokatanur Date: Tue, 17 Mar 2020 15:23:20 +0530 Message-ID: Subject: Re: [PATCH v1 1/1] firmware: tee_bnxt: remove unused variable init To: Sergei Shtylyov Cc: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , linux-mips@vger.kernel.org, Linux Kernel Mailing List , BCM Kernel Feedback 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 On Tue, Mar 17, 2020 at 2:39 PM Sergei Shtylyov wrote: > > Hello! > > On 17.03.2020 7:07, Rayagonda Kokatanur wrote: > > > Remove unused variable initialization. > > I think it's not an initialization, it's an assignment. :-) Thanks will fix it and send v2. > > > Signed-off-by: Rayagonda Kokatanur > > --- > > drivers/firmware/broadcom/tee_bnxt_fw.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/drivers/firmware/broadcom/tee_bnxt_fw.c b/drivers/firmware/broadcom/tee_bnxt_fw.c > > index ed10da5313e8..6fd62657e35f 100644 > > --- a/drivers/firmware/broadcom/tee_bnxt_fw.c > > +++ b/drivers/firmware/broadcom/tee_bnxt_fw.c > > @@ -143,8 +143,6 @@ int tee_bnxt_copy_coredump(void *buf, u32 offset, u32 size) > > prepare_args(TA_CMD_BNXT_COPY_COREDUMP, &arg, param); > > > > while (rbytes) { > > - nbytes = rbytes; > > - > > nbytes = min_t(u32, rbytes, param[0].u.memref.size); > > > > /* Fill additional invoke cmd params */ > > MBR, Sergei