From patchwork Tue Aug 20 07:42:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Jun X-Patchwork-Id: 821841 Received: from cmccmta1.chinamobile.com (cmccmta2.chinamobile.com [111.22.67.135]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B4B918C032; Tue, 20 Aug 2024 07:45:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.135 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724139959; cv=none; b=DvfW5RU8u0F4ySzZZy5Wg2Qn2l6KLmOv+esKD73mttdB4VTsby42vRCzFPlQyX0MdLJ1dyEhwHtg63BTCWuajaxeO/nuo2kZKWNa3SHJzVdl6UgZ5pE7ZPLyLYA6mrjogQA4wLv1kJMS8mgq2XxBpd8zZ4/UKMCbdxU9LyRD2wA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724139959; c=relaxed/simple; bh=GiNQDAoi4zuzHePeXuBOmU33vVoEeDsxOHAMolrzHrY=; h=From:To:Cc:Subject:Date:Message-Id; b=AHKvWS5N1nYF30oyv4DBa5TYK7FmcermZvW6ENuYdjrJAuebvdw8IPIV+hXiTDSsQxvM2NbCffvKDT8PBUYkIEPG+V4K3RZPhZ+fGnSSVDNyPgWyoYS3cnlVbWlwZ4Usa9nK207wsH0jfIoHjsW/8rxFIbXJfBS1ynKPh8X1RNs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; arc=none smtp.client-ip=111.22.67.135 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee366c448f1f39-39744; Tue, 20 Aug 2024 15:42:43 +0800 (CST) X-RM-TRANSID: 2ee366c448f1f39-39744 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from ubuntu.localdomain (unknown[223.108.79.99]) by rmsmtp-syy-appsvr07-12007 (RichMail) with SMTP id 2ee766c448f2318-fe51a; Tue, 20 Aug 2024 15:42:43 +0800 (CST) X-RM-TRANSID: 2ee766c448f2318-fe51a From: Zhu Jun To: mario.limonciello@amd.com Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Zhu Jun Subject: [PATCH] tools/crypto:Remove unused variable Date: Tue, 20 Aug 2024 00:42:42 -0700 Message-Id: <20240820074242.4926-1-zhujun2@cmss.chinamobile.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: the variable is never referenced in the code, just remove them. Signed-off-by: Zhu Jun --- tools/crypto/ccp/dbc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/crypto/ccp/dbc.c b/tools/crypto/ccp/dbc.c index a807df0f0597..80248d3d3a5a 100644 --- a/tools/crypto/ccp/dbc.c +++ b/tools/crypto/ccp/dbc.c @@ -57,7 +57,6 @@ int process_param(int fd, int msg_index, __u8 *signature, int *data) .msg_index = msg_index, .param = *data, }; - int ret; assert(signature); assert(data);