Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3584665ybh; Tue, 17 Mar 2020 02:51:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtOvugYzw7YBG1Ee4UJwfz06pdi2pqwWxUkbI7L22Zr/qwsvq4XbyXQsQe8stbuXcMiDdtX X-Received: by 2002:a9d:5181:: with SMTP id y1mr2957193otg.199.1584438710459; Tue, 17 Mar 2020 02:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584438710; cv=none; d=google.com; s=arc-20160816; b=AMu/zJQmSpjVLw56s6D5/9BulSOXqQKXw1frFPTRWEtSdatfP1y1heIKWzpRz9JOsb f73atrTZK7jUS7U/XHssRDI4cAAdqWtZ2zoyjwtWFEBGVrIXrSW9r6XxHG+n0/jDKhI7 3wttx2HJGLbhoyYmelye1x9FEDtmI7KiKGfuY+9m/qwqpuiIS3s0uAPl+d6vWfaAS0JD iBQS9JWN6caBs9Iu5ypndDOYCf/ijnUFk1g9wv/RmcYUSH5t3BJSpIrV0YnLuABhyD+L 5GX03i8ATgGMuk/K7hSNoW/74dnh+fa3n5TRlyzpdagR3aKaUO/xD6M/hRocQ5XBA9/H a5eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=CfiAQpd8uQoL3iwwwAGqh6gxvyBaIrgMF1i3mX+btOA=; b=cZMhLHy9rjgyG7bbqs963uMfP3f84/CD4C3Z6OdK52l+ZmJJzz7tcvjPxP3C8r4Xx8 jMmjpnZ/pE0haTT8Y9a9gncUWLQCRJXKwwav2WnLabpHC/L08rVJyPWNdtHk04QBwfS2 BzE1PhL0hYdm4sSD+5jYQFOznYKUDdDZfRNj31BJ314+IZeDHvhmPicdVwkA0GwcJ1d6 meVPsWIMo9j/lDUyLqtNB02DF5yCXmLdxdidVi3miOKB26pUI9vP2zZZmOe1Jtp/c5J2 jrUoSzY/0/ALAVymj8Lh7suNSFfdmffBenso1t+ylrd52NB5lkFXy4Y1g7QQfP89M2S4 xptg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=bKLGfSM9; 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 e27si1615262oiy.72.2020.03.17.02.51.37; Tue, 17 Mar 2020 02:51:50 -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=bKLGfSM9; 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 S1726084AbgCQJuu (ORCPT + 99 others); Tue, 17 Mar 2020 05:50:50 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:51366 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbgCQJuu (ORCPT ); Tue, 17 Mar 2020 05:50:50 -0400 Received: by mail-wm1-f66.google.com with SMTP id a132so20668134wme.1 for ; Tue, 17 Mar 2020 02:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=CfiAQpd8uQoL3iwwwAGqh6gxvyBaIrgMF1i3mX+btOA=; b=bKLGfSM9UWMVgvxw9K4+lnLcWmqVr8N9nWD3shrd/QZtInCP8z5IrA4LsnnWcpQTDU qP6buHmWIrzh9IVIxla3zk48G3q9HrTis+C/wMKr6qKELE/Bbq3x9M89bEuSBDjvdEyd aD2U7OjDYVAA/VdnvZ5FSMaedfaNU+8nWtoS8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CfiAQpd8uQoL3iwwwAGqh6gxvyBaIrgMF1i3mX+btOA=; b=k0Xmaw6u2i6oePYPkW9VookrNgsXZapPjPPl14m0XgdAbdoQAFb+9gwIjgKRSAhnrc hdHQNZr3bOFj4oGca+VQBbxrZ2OYwn9ZwzeSHD5OJmVeyWVQxZAQVefSbShE9o2Os5MQ yLDW36Uy+iMpi0uyshBYGCZ3aidcWTfVny5McjvwpqT3LnR8ujDrgDVQttvSzUKeIuTw BcSxhI8Z4odgsrsCrN61lPXlH8zWQPvAKMtGalx5t5UPvL9Sb79knr2dtlSFNAyGfcFT kXOKBP+FbA0WLGNIALLuzqV9pfz8yjIzwTNQx/awWn7iVLRgRo4V048e1+fjKZJ1F43c 3tBA== X-Gm-Message-State: ANhLgQ3uOy2B1cr6Jdj/cQQkjpMyoo9QoiabRdJ8UoOox5Mu3OylfNDk 7ehLjKY4k4TPAXbnnpd2YEd1Xw== X-Received: by 2002:a7b:c950:: with SMTP id i16mr4335733wml.97.1584438648582; Tue, 17 Mar 2020 02:50:48 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id l18sm3845033wrr.17.2020.03.17.02.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2020 02:50:47 -0700 (PDT) From: Rayagonda Kokatanur To: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, BCM Kernel Feedback Cc: Rayagonda Kokatanur Subject: [PATCH v2 1/1] firmware: tee_bnxt: remove unused variable assignment Date: Tue, 17 Mar 2020 15:20:37 +0530 Message-Id: <20200317095037.22313-1-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused variable assignment. Signed-off-by: Rayagonda Kokatanur --- 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