Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp4119249ybh; Tue, 17 Mar 2020 12:34:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvjBAJs9//9DWSL7meWQnW0lXzAPvVVwmaJw062X7UdS02Ofz60a8r8s0eEX18Ecz1R6QVH X-Received: by 2002:aca:4d49:: with SMTP id a70mr425546oib.152.1584473685528; Tue, 17 Mar 2020 12:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584473685; cv=none; d=google.com; s=arc-20160816; b=wqEV6HectDk8LV4Nx9Y3m4z5JVrQOTd0uGSyYxzN6cdcHBdORAzf/4IU/qIVbH4f7i vO4emxaX0PqDLwXVv7P94tL2kEdF3hZuYYMW1l0KvnoCpyFZzAQrTDxFN8hTfiwbBpoM 3nvH2aDN2xcjDn+wUGEzTYmIdswIHRMdTEzqL2tYxYinguCTXa83DU9E2Dq1jyZhTQye 7b8jmPg7y+oChWUJfu1eiGZKjfeQDdZB/Fbh/fJ5L7R+NFgOWXHAK7iu6aOHn0Ww7N1C kYF61nEmOsIZGv/fEyGG18EFZyQggQgVT+dMCfKbyj3vmNcFKnqrVqSVBKLBoW/8fSKu d13w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-filter; bh=3tZiwgRbA7qaKAe36493vOXQ/2f0fxvWfm7urZH36NM=; b=CmWhARMpYJVSPyn35TOA8Y2O5WIRPugDzbIde4e+a5gjpWyMK48PFBC6r5igF8CBb0 I1BuunzcFJNb1pnu4PNrIoSAicUGVOJEox/U5/N4uIxRkYkEDVt1H3kzaeFZ/2jwk7AQ 50AKkhBbq2UqiYJLT4tQETjNlolSKcDyW7SD8hO9bpI66FMsQj5YAZg47vwPaVB6sfxp j8M9HuVDtvfW/fbI+Po9cpcoIuHKDBBCt+L2NbUMs5iJ6nMZZjK/KtlQ5csjbCFINO5y xancH849ul1E1yd96x6M2P4KI+kjUKcza2d46WCVRXQx6cQ5G6MLiO5NBFcP8TYJ++pv 9lAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=XPHD3K7E; 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=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si2142478otk.163.2020.03.17.12.34.33; Tue, 17 Mar 2020 12:34:45 -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=@linux.microsoft.com header.s=default header.b=XPHD3K7E; 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=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726859AbgCQTcj (ORCPT + 99 others); Tue, 17 Mar 2020 15:32:39 -0400 Received: from linux.microsoft.com ([13.77.154.182]:40110 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726738AbgCQTcX (ORCPT ); Tue, 17 Mar 2020 15:32:23 -0400 Received: from MININT-65B7IF6 (162-237-133-238.lightspeed.rcsntx.sbcglobal.net [162.237.133.238]) by linux.microsoft.com (Postfix) with ESMTPSA id 783E120B9C02; Tue, 17 Mar 2020 12:32:22 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 783E120B9C02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1584473542; bh=3tZiwgRbA7qaKAe36493vOXQ/2f0fxvWfm7urZH36NM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XPHD3K7EWZ+mS0qZXH0ge72ggRiwWX6nRvHt72ANWaqbC8OmVn2LjKqixY8ag2Fjw EGRdhxjY69j/YNfezP7P+zIRC4gUZ1UBG02IcB0knYCwcdLuv8i+oDMwne0Cx4MI5p FSMYYKhKFszKonv59NhC+kZLStRNzXYLyGiDugv0= Date: Tue, 17 Mar 2020 14:32:20 -0500 From: Tyler Hicks To: Rayagonda Kokatanur Cc: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, BCM Kernel Feedback Subject: Re: [PATCH v2 1/1] firmware: tee_bnxt: remove unused variable assignment Message-ID: <20200317193220.GB708@MININT-65B7IF6> References: <20200317095037.22313-1-rayagonda.kokatanur@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200317095037.22313-1-rayagonda.kokatanur@broadcom.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-03-17 15:20:37, Rayagonda Kokatanur wrote: > Remove unused variable assignment. > > Signed-off-by: Rayagonda Kokatanur Reviewed-by: Tyler Hicks Tyler > --- > Changes from v1: > - Address code review comment from Sergei Shtylyov, > Correct the commit message. > > 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 */ > -- > 2.17.1 >