Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3361805ybh; Mon, 16 Mar 2020 21:54:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs1i5esrJLiD8aH9OtVwDPGETX61mOqxHZloAPtvaQu6w77cvFgtHIJVR5P1Enh5Wv6LAgn X-Received: by 2002:a9d:694a:: with SMTP id p10mr2336966oto.151.1584420846275; Mon, 16 Mar 2020 21:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584420846; cv=none; d=google.com; s=arc-20160816; b=vTNC3LMlPl+MpMLzOZtiJIcFKEPWfn/mOpXBJloHEmI7dHUqKu4izFD1MKcPTnV/HJ w2gToj+lXStB4gXEqMYdhIZHdl8kkZpVhsE0xOgxBDuZeRm5bZA4KSmtTDOBEdK4szlC NdclqpSIEO8W5b/QTcqxYs5jW664F6q8gnCVh1ciWCKXrR3glcgx/PS8hJZdJ8wZiJeW a78DrXuKibTtS5JITkS3H2A6b+l5br/zdHT9LO6FMm2UceXviTkDqVXJ5P2rLiWoN/xn UCyFH6gN5QpVmdW2ccCGjCK1OJBdL/luJ5BSD2PoDqsjz67ZcBMYoAj57JCfYKRzCxSG +Xkg== 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=33jKlqaYa25AsU3VntdMH3umyT6AHcOYuqn7A0K1VBU=; b=C0xPG8gC62nlhUntVvNWZ1QofAC9CqgPTtBeCPZLu0TTCohbluuRBQrEQxWpiWeE3u fIQKvwNbwIhW6gMTVMg9g222EZn6/+hyulYCowrNlg5xD2AXrZMyDiHvpWyLQxfqLBt0 Cpch7a4jw/g30jezB9sk/ykjdhkEtLGE5DoOLAjP4vowXAuQe0G7btODAAwijsrrZh6I wA7ub5gjxB7a0IHPDspaMjMfVxVpXyYKf0bIoA7XRjneqUIsajFYl2FRNoI3wknqmkD8 haeI/uZuDN2FHG9mmAL7YS9RYu1fbR7GFlUJevg9ZeVf5D0wEZtkTEwc/mSW1F+igE7P xcYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=XULrSr+W; 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 145si1241167oie.185.2020.03.16.21.53.54; Mon, 16 Mar 2020 21:54:06 -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=XULrSr+W; 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 S1725862AbgCQEH6 (ORCPT + 99 others); Tue, 17 Mar 2020 00:07:58 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35142 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbgCQEH6 (ORCPT ); Tue, 17 Mar 2020 00:07:58 -0400 Received: by mail-wm1-f67.google.com with SMTP id m3so20367322wmi.0 for ; Mon, 16 Mar 2020 21:07:56 -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=33jKlqaYa25AsU3VntdMH3umyT6AHcOYuqn7A0K1VBU=; b=XULrSr+Wd/YnDJMybcFNeMh5Gg9yENwZPEIlhwbKwlq5vSDVqgNcTVtYq0bNvx3yBy pVODbjuuneMTk+XfxXjAJv6lp2w8hCBIk4m+O1KppoeGvDnSGsefYVfgc2O3bUYKVbZo S+fqFBkxEjoOniy7neehOXUGxd6n9fOb0Wodk= 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=33jKlqaYa25AsU3VntdMH3umyT6AHcOYuqn7A0K1VBU=; b=Ki2zctlh32O9UCM/1O/jKJwnmRXHIgdmQPch5pM0ha3VJPtzF1Qvf3XYR+xPpmjOmp MDXkrPL+SilBHIb8Ct8s7qydM6bfxMCvUrbX9lICRgXgVN8qq30joPGcIWlvMgotKIdO mb1BgqOse7C9Z91FnGiDdaMYlvfTe2JKVPYtkkoc75sso3ymZrft9akKrOo0dA3+w0wX TZ4z/SgZCxidC6/hZyrRF0DrYbWZpsHIQeSnp46QZd+2DqTC8cOcooHHtiyPdoX9gvhj 9+WXhix/vzwVF4gTLbV/Gi6jwkBh258CUgFhoQYbVyZViyepvB1h6hQgFMullgUCfxhx qe0Q== X-Gm-Message-State: ANhLgQ3AsI0yERrZvK+Gd7FSPHa4Q/sXRo5s7iLJHCf2tIKMwaElSWD8 hWp9nLx4pn8XT2+w2iZMpHzOEA== X-Received: by 2002:a1c:41d6:: with SMTP id o205mr2656158wma.122.1584418075697; Mon, 16 Mar 2020 21:07:55 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id z4sm2811766wrr.6.2020.03.16.21.07.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 21:07:54 -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 v1 1/1] firmware: tee_bnxt: remove unused variable init Date: Tue, 17 Mar 2020 09:37:42 +0530 Message-Id: <20200317040742.12143-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 initialization. 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