Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3411303ybb; Mon, 23 Mar 2020 00:03:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu/NBi51mzVURq72+dHAT2RSJOWlVghPy4uAwQqUzR4lW+OP5XwFEt4UhCU+qYb0VDrsiJg X-Received: by 2002:aca:a857:: with SMTP id r84mr16189694oie.65.1584947007717; Mon, 23 Mar 2020 00:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584947007; cv=none; d=google.com; s=arc-20160816; b=VZTiiY0AjIFKStKkTCVjQr3F1zIDYQDNe96ts4HFeVlyDScIrINKDsiNB8KaWcBjxj lle6tEVpaPWWu5y+MAtydo2VXKFE1PiyuQ4Z0CvjjpL0nn11pER9++9tL03lWf+rZtBH gJAaOUs3uhZpUX3ytxlQN1e29PEd5eDPIHhONJy8HX2fcSrRDIeQ0FnEUVzoGeHqMy1j 5uUr/lDyYOtGKXxpxvpWD1GpgYfjhKa+GAZNVWkcWwrA+Cjq6cEglulDWy7cBlpuT1W9 u5WWM8Iu2HcBJg2WgTErEEM0rnUUnykSlMKHLS1NUk4a4U1rP2MJa6nhzfoZFSmlpCbO GGPA== 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=5jTrjO4QSy5fUBmSLfWHrfzpqSWpoJNJJJo1AqTJhfE=; b=UImavHVbr8lLflrp4CPKxNtiOxqR/jv9kgtpc1Yx9wlZCqpKU2nGlhHhicoLa5G7fw LKnW+vLSlsyAZGdzL2jfoExVVo9K8tuDbWGP0Feawm531lOsb8EpLti0BT0tS0a1GmeA fjW90lMYQ0kVkjw+32EuJzk7ieBQIJOzUrpQnM9ic8QOSze/pL9GZEiKkRSCVI4VwtXY EgKyaPVt6SpLz8mLKX58oHgvQC876R0RslKkReuhF9QBRPPBDROsYQdr2VHg48eP/xKs WaKI47ztCTyCj2MI5+BAXUXR5YcKbHfnrdXmtQs7HWKMKgCOSGj1SSjWyd2/SyX1a+tJ YiZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=VDtaFZaU; 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 w4si6808382oie.124.2020.03.23.00.03.15; Mon, 23 Mar 2020 00:03:27 -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=VDtaFZaU; 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 S1727352AbgCWHC4 (ORCPT + 99 others); Mon, 23 Mar 2020 03:02:56 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55221 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727164AbgCWHCz (ORCPT ); Mon, 23 Mar 2020 03:02:55 -0400 Received: by mail-wm1-f65.google.com with SMTP id c81so2928892wmd.4 for ; Mon, 23 Mar 2020 00:02:54 -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=5jTrjO4QSy5fUBmSLfWHrfzpqSWpoJNJJJo1AqTJhfE=; b=VDtaFZaUmPZr8jbxDzrfRDjnl5Dg2m1FlJrzku7TJJmh8Farbm29/l5MlqLy7GiEhW 86f3P+aU8L6NeTKE7s15nCKzF3cBavJZfXPVg0falO+Z61B6UwrjNLhCI7Vo1ifnWIOQ lQ3wXJH5Y7x7gaLAAInH+p/RAPt+szD5urRJ4= 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=5jTrjO4QSy5fUBmSLfWHrfzpqSWpoJNJJJo1AqTJhfE=; b=rqf6lc+6BBVFRoOFznR/8tigp31MvTZ1UETFju1/oTMJCkSPA9ljs361LQKTmj/A/e jMErgPhY+n0pFfiYDcnJrs995/hujFqqBoYQAlCuV0/kgzzjZ8MuY1jUKeiDRcnK9Hyh rercwzGKEgW+jlGy0zFVczi1xSvP2e9v4gwo4f8GG7uKfft1m/JMCmsems+l1qFRF8U6 k6xu3u/SY54oPbIHX2jIELTFZwmbFWSf9nNYfIulaHiKCcjW7Ej5vJIAwHa7mOP8AhbU zzLavm6ppfOE+eHlDvpNxpyvNwbDCZSuTwHDBe/4N5fxQsuwsDL3eH5teXrJX+lEgfGN Njnw== X-Gm-Message-State: ANhLgQ1CK6BRJILGFHM5GY7mOb1qgSWb/MzbeRqPsMbDCfN80klbxRqj 3MTaTKTYjA1CcuDn0njqRhmnbQ== X-Received: by 2002:a1c:80d3:: with SMTP id b202mr25954016wmd.16.1584946973457; Mon, 23 Mar 2020 00:02:53 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id t2sm8198735wml.30.2020.03.23.00.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 00:02:52 -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: Mon, 23 Mar 2020 12:32:42 +0530 Message-Id: <20200323070242.16873-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 --- 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