Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3551036ybh; Tue, 17 Mar 2020 02:10:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vswyuf6EW8eCcpTuiM4U2bWN+pLaIekrZQVUDpNEldNclfu1t9m0FoYKe5oTnfTSh0gZEvZ X-Received: by 2002:aca:4fc3:: with SMTP id d186mr2596255oib.171.1584436231687; Tue, 17 Mar 2020 02:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584436231; cv=none; d=google.com; s=arc-20160816; b=Yr92ZkeHXUDUGX/hG5k8DTTINuUAMFYI0lMruq2qAAKH+kJRtsSCFzckV9iTzJeHuW R+3nxbXWEub8c2QIb6TVRr1HMEfeLqqzWDJJ2Na1aPUUjAjwBqGnMjBI9JALT6dxUCEV 4py9CfYlrxZQPkZqke7uGlEny1NNDyKgH6ZqRJOeevcUYeK8r/dQUIlj0NUBn3wGBJD2 2Z8y635gdXiz/yPE1D1YjZibaYFNM4V8IhtWdUYWJLKlCUqanzQ6khVuyiKqdWPqHZ13 9bEtoouToP+W55ZH3FAb2QlEAiw/GYndWD8/CUVLk2Ss/rtRZ1PX/SSPZag8ut/4iz+R 9bHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=To90Aks1QffLWwmCVhWp92G2t7kKA7+CEhKhINvOIzQ=; b=b+injnEmdKT5gzFn/Ya2NCRbJIieCnkkdk+Vsb4YIZKQUlteGoNxOdICGPy/TJJ4K/ 7EObHaCHAGk/D/ls7lRZNSqrzTKHgIL7674wmviHQyZSJBLbWz3rpxJX0Nf6My90sfWy RkiC8HzMecM+lCsn+cFykRT9joe+N45Jd1gGKEbcAnt8YJIdvvDE1CABJw1P+FK9eyZW fBB6lbmCzmPcryj1Zk393f21LYds+yMJXwF3u9CMHghZnDChc3TTntuMaTiFKn9JgZFw rwfo/HHdo6fNr6RxGkGZaOMe9eDzbcZgz5D423gfM4ngqj4MuYV6i++U5UCJvZF3aZja 8Bhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=OrfhVnn7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p203si1362614oic.214.2020.03.17.02.10.18; Tue, 17 Mar 2020 02:10:31 -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=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=OrfhVnn7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725962AbgCQJJm (ORCPT + 99 others); Tue, 17 Mar 2020 05:09:42 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:35894 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbgCQJJm (ORCPT ); Tue, 17 Mar 2020 05:09:42 -0400 Received: by mail-lj1-f195.google.com with SMTP id g12so21910602ljj.3 for ; Tue, 17 Mar 2020 02:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=To90Aks1QffLWwmCVhWp92G2t7kKA7+CEhKhINvOIzQ=; b=OrfhVnn77/q/QbU3GLdBl8/vFd/OmkvQ5h26M/H7pVe9WwMGkLALnwxMK+CxEwCjhY XvcpVnYykjrO730oo7sXyrArDMF3y+Eu3kh7YqHNnLktiOBMsJchzTWmn5VR4K/NbnTB wt6ZYuCPlzONROFDGLLwv1AEBR6DtGCb2XCWmCtEhh2ad1JrDf9F+sowm4cuRAmt244I 5Ldoz6Rafdb3cBN80a5HuE8qpA12fNf8Wvsst4xo+qS+ABvksoCfy+2VIks8mEG9gc+D elBddi3V4K3YBnTGQaQi33Un+enw3KKaqpLrb6zGGu2aqGeKI9qLaUkMxjkEq3x35Nuw BuEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=To90Aks1QffLWwmCVhWp92G2t7kKA7+CEhKhINvOIzQ=; b=VONdoOfIok1anAX2U3xblWNavq3FqayS6YKLOQeqRKmIzFQ9RYcoy85ea50gPufHB6 M3FbnN9HnMB5CnIdqt4KQPcJyguALp5OpKsa9VMFXrnj4lRiz1PKK2iE9duGDubESc0o Mkas2jI//SMA7bCoHEUT9ftsNYY8LVpJOwId/ZMAWncKVo1CZpXAlK+prOAKP4XyAkzN onb+jHSlPhojFOo9AQ6FmNfSkfwUHR3TmJ0k4hpJvnWj3r8CpuhLAPfV2zVOBfCFFUou Y+Mwjf1cf7u4GBUNL5SeJWJLgxpgxYMfnLmQvTBM+TfZKJGLyvVyWBsOdqxZozqwP6VG Fyuw== X-Gm-Message-State: ANhLgQ04UYF9YlAN4+/7jeFuEuhI1UYDT//7ExImUGtPqeX4dKyYByx2 OiK97xsIdvQ3WWuw0+ageiq7xg== X-Received: by 2002:a2e:b88b:: with SMTP id r11mr2148589ljp.116.1584436178731; Tue, 17 Mar 2020 02:09:38 -0700 (PDT) Received: from ?IPv6:2a00:1fa0:48ef:94a3:a481:5e62:4324:124b? ([2a00:1fa0:48ef:94a3:a481:5e62:4324:124b]) by smtp.gmail.com with ESMTPSA id k2sm2202120lfo.36.2020.03.17.02.09.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Mar 2020 02:09:38 -0700 (PDT) Subject: Re: [PATCH v1 1/1] firmware: tee_bnxt: remove unused variable init To: Rayagonda Kokatanur , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, BCM Kernel Feedback References: <20200317040742.12143-1-rayagonda.kokatanur@broadcom.com> From: Sergei Shtylyov Message-ID: Date: Tue, 17 Mar 2020 12:09:32 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200317040742.12143-1-rayagonda.kokatanur@broadcom.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. :-) > 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