Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1465453ybx; Tue, 5 Nov 2019 16:54:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxfkROopte2ICXEf0QRh2feUlsb2Ltc0h+IDsPZUsLOnxK31t1lsWBVMiH5BC+rtMst+JIc X-Received: by 2002:a17:906:70e:: with SMTP id y14mr15511162ejb.70.1573001645503; Tue, 05 Nov 2019 16:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573001645; cv=none; d=google.com; s=arc-20160816; b=Sko4dPkUh/nHb2J4ShKz3TKr6384D6JhMULQUt1FLYb5Pf+EB89dQ8kQzFSLmsV0zd ikIbxCcTc/2As5vk/yX5DV6UF9+jj3hSjF/8WMIPIDB7fudNWiXbMuEAndptVOHaQVYL ua5eJetNEXRQa4j+ZMw83JiEerzOMK1v+XnieJwjWFN7QceLx2NKEdP3biykunwi/Vrg 34EuQTpituAgkpVBHY3+ZDl1FEqFH1ItXJDjoXV0GoXknbdlTnKHoDbxULxjkfehREPA 6BXvWKus0K3O6ZJV37hBc8FNaY308lX0HCy48BOzOIsygNVd5Ta7IJzU2lTIuRDl3C1z kmBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from; bh=QoEp9Uel1UHa3CZR2znXvCOAVSUGI8U9lMM0/XQBr7o=; b=WNbFBAxLcx9dl8NsPeokwxs9W85gGEUn4tUJrRB4o4S3FYKj6z/Of5M+c0s3ghzi2O c7VQmrj6xK0Szq9EpgXuKIy3F1oH+M3LMYfRzG3rIx2Mqn0098w0mBZKmMSoenK6e4dm 2NRn7hgQqaFSSaNWRNkNtCi1zWPfci608EqKOFspqEKza1S4lz9m1rJCIjW63UFhq09z 4/7w2JbsWYlXvMEAYoxebgX1BWUe4gnGCoK60wg391jwIVyMuHf0U99gd6MiJ86Yv7pd uBWGdMHDZ3QaSPDQRwjMumbIeVvVzmEeseeJADiJOCzfVNFuUMUtTfGADfWIcWDLGzJC 0p/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s28si11490598edm.64.2019.11.05.16.53.41; Tue, 05 Nov 2019 16:54:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbfKFAxP (ORCPT + 99 others); Tue, 5 Nov 2019 19:53:15 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:45074 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727252AbfKFAxP (ORCPT ); Tue, 5 Nov 2019 19:53:15 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id B6C8ADFC0E4BEAB798F2; Wed, 6 Nov 2019 08:53:12 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Wed, 6 Nov 2019 08:53:04 +0800 From: Tian Tao To: , , , Subject: [PATCH] crypto: tgr192 remove unneeded semicolon Date: Wed, 6 Nov 2019 08:53:41 +0800 Message-ID: <1573001621-58594-1-git-send-email-tiantao6@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix the warning below. ./crypto/tgr192.c:558:43-44: Unneeded semicolon ./crypto/tgr192.c:586:44-45: Unneeded semicolon Fixes: f63fbd3d501b ("crypto: tgr192 - Switch to shash") Signed-off-by: Tian Tao --- crypto/tgr192.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/tgr192.c b/crypto/tgr192.c index 052648e..aa29c52 100644 --- a/crypto/tgr192.c +++ b/crypto/tgr192.c @@ -555,7 +555,7 @@ static int tgr192_final(struct shash_desc *desc, u8 * out) __le32 *le32p; u32 t, msb, lsb; - tgr192_update(desc, NULL, 0); /* flush */ ; + tgr192_update(desc, NULL, 0); /* flush */ msb = 0; t = tctx->nblocks; @@ -583,7 +583,7 @@ static int tgr192_final(struct shash_desc *desc, u8 * out) while (tctx->count < 64) { tctx->hash[tctx->count++] = 0; } - tgr192_update(desc, NULL, 0); /* flush */ ; + tgr192_update(desc, NULL, 0); /* flush */ memset(tctx->hash, 0, 56); /* fill next block with zeroes */ } /* append the 64 bit count */ -- 2.7.4