[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200317040742.12143-1-rayagonda.kokatanur@broadcom.com>
Date: Tue, 17 Mar 2020 09:37:42 +0530
From: Rayagonda Kokatanur <rayagonda.kokatanur@...adcom.com>
To: Rafał Miłecki <zajec5@...il.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
BCM Kernel Feedback <bcm-kernel-feedback-list@...adcom.com>
Cc: Rayagonda Kokatanur <rayagonda.kokatanur@...adcom.com>
Subject: [PATCH v1 1/1] firmware: tee_bnxt: remove unused variable init
Remove unused variable initialization.
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@...adcom.com>
---
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
Powered by blists - more mailing lists