Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3414597ybb; Mon, 23 Mar 2020 00:07:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vus2y/J7e1d1YGOagmvxK1vPHvuA2x8ufHTOdZxeekgl7Y2qgASfEbRMHas9lrPB7aIz2ud X-Received: by 2002:aca:bd0b:: with SMTP id n11mr15319877oif.90.1584947267487; Mon, 23 Mar 2020 00:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584947267; cv=none; d=google.com; s=arc-20160816; b=wsw1BZdps8e4+8l2/6NI4fm+9gMFxrlPOgCnMeubLtAqx9XBHlRh4Fp+REL7RUzCkz cToGbEXjSg3QBF29u/AmkGlMDlgKW569KMq2ZL2WeuBP+gavop7Pe7vN0fF1fkU9VuTy B7ZAdUmm9i7H3lAkNK1VX6MR2G6AVeH0SihcGjdPQXgk9jNlY9iutGR6B05DBQCYnCE1 WI07H2GmU49RRNCLZnPTFKAzckBnxx/tmGNHLFhTfnukwiBffYZFXu2UcyTZizIH42qf 0eFXfnYxGDyqZWRL64/DbvbV5IBCQ8F3dPsXjIQRx6RXMRCI2zwTsmZsD9ZLsaxR943s UN/Q== 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=6+H3L1N6B9JwGgT4kGhTvyXOoPuS69y5RAhMF6/3IAY=; b=ujIRH5aEo0AsjijqeAvXhhZABQeiqXkzB9K2Lv4MgCMAbBLkQSsEhZsonXjgmpGZDt ivvRmwaK2srHViX7Gv/Yta/CHYOFcJ44W3oKOm37O1wSkKG6sscgzoxa7X5uNcNScen0 +w5LsD+wjEFf6JdShqU62WjUwlfSXab2AoNLtZdUBhniYLZY2b5EnIQXfE9iFjEW6qvI z1N7Z+ASo3Ox/Cnw3kXwlPczBfSK6Ff2JwFKJaD4N+rF5JnbrEnwlYfCp2V3CkbArMyp /94sjkAx4wyRJ82KbEDVJQurC/p/KG+hKTV9es/qBk760Rxoff7bl0TbIAOKcdZ0gXRR KWiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Tl6H29o8; 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 141si6453607oii.44.2020.03.23.00.07.35; Mon, 23 Mar 2020 00:07:47 -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=Tl6H29o8; 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 S1727395AbgCWHHP (ORCPT + 99 others); Mon, 23 Mar 2020 03:07:15 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36269 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727364AbgCWHHP (ORCPT ); Mon, 23 Mar 2020 03:07:15 -0400 Received: by mail-wm1-f66.google.com with SMTP id g62so13426528wme.1 for ; Mon, 23 Mar 2020 00:07:14 -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=6+H3L1N6B9JwGgT4kGhTvyXOoPuS69y5RAhMF6/3IAY=; b=Tl6H29o84KzodraSj/8Lu6j8G6gU1mywLmC42YDgg7lakLlWht51bOWK5K+Bxjuj1E /hTufsQ9PX041U6vgoUdezqK+vKU26qDC3PYidkJBfxoCQt8PgmTyrqMS2us6BLLRr12 QP4D03g3s1ajzwNoPYVwIlW1x3fApRy4/4aDw= 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=6+H3L1N6B9JwGgT4kGhTvyXOoPuS69y5RAhMF6/3IAY=; b=Pgxw170mn1NvHQuTMQsULewWNH8zQsv7SUTyySbVT4doSlYrhBlhTDWBHInTGBfnJx idA5jN23xT+Da7wx8uOkw27nk6LafJzd3K/NioPJcmO7pJ6PpPF67S84ykT/K9dg/GzR t69peWHMn+Tb+JiXlH3NV10zzmqa0SYOZSQK8DNa92ulN3ApiA2rR0rgOYUlNa3kzN/+ 0QUmH3ABwjObIbuy7rk7SGxD0w26c3lTSiuKVSpD6DVitkssZKtI9jqlTc93+ed7pKOR ERwxXvdRQWcloJrMCl7H0wkzj2Z3T1TINccKqaO0bvxfYRCPZh+mBwQBAcJTRt1OgXvk sU+w== X-Gm-Message-State: ANhLgQ2nwg7+f+zSKrbuCN2fGzqxC8qXVk7LhQeyOp5VWzuY8GPwvgvy o8yWiLdQvNEWP/kZL56FX2dYUA== X-Received: by 2002:a7b:cb91:: with SMTP id m17mr11287399wmi.169.1584947233631; Mon, 23 Mar 2020 00:07:13 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id n1sm22144380wrj.77.2020.03.23.00.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 00:07:13 -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:37:01 +0530 Message-Id: <20200323070701.17078-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 comments from Sergei Shtylyov, correct the commit message and subject line. 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