From patchwork Mon Nov 29 08:34:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Zhengkui X-Patchwork-Id: 519443 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63342C433F5 for ; Mon, 29 Nov 2021 08:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343628AbhK2Ika (ORCPT ); Mon, 29 Nov 2021 03:40:30 -0500 Received: from mail-psaapc01on2099.outbound.protection.outlook.com ([40.107.255.99]:33888 "EHLO APC01-PSA-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1350779AbhK2Iia (ORCPT ); Mon, 29 Nov 2021 03:38:30 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lbdz+ddUcFHbWMiBmknpQ7IrmvTUxIhVhPjAKy01QTb9/7ij6LG+aAbD0BZw+k6Sl2+i+2rVH99ZVRJOHaNsTnTKuP80TgEVCHlirly+MWa9mxjEM4Ku7Vx/QfyEd2CV3SbvaGZS2ddw7G9PbedNYcwdz2p9T0kMJXKR+rBIghv/KMvIyAMGQP2livmb4SImsJHiFR3BLnBpV3Z1yVOU4fe3Sa0YTKshha5VhjTA7t9WdCFUH63M1CoN1iUfOGGp7pnwme9uRdCdds2hTmzc+top0HGn3GuyfIt0Plr/AdqRq3u87O+P3+0LJMhmFCIfdSpZWqy04cODlaHYPEHWVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mKd0F/Q7lHOfTSM0Awi/wK0Yg1iTqE2umpow7yE8VSA=; b=RI/gjWKTIP7SRHhurC0lvOWaS24p7AVjrNIEnsfQHZbSXacPnEN52ubvW07RXmbYQGnVUPPeI6O9YbAzUlYXiIycJbSC5JLC50NTuN1Zdiwwh0/2u+xjSkxsUx2xg6KbTTzx2e77KsbbsmR5FeAPisbue5JZ0ca0ONw16hScsE0C7PgchhYh46eK7LVFBFQlZ+MDJ7LHTyMX5d6H8Q2NmpMbgyhB+s71DL6o+D/1WNQG5+efgLXm+6PBUIYFspfSlRHEIC9Xcx8hVjQpAB6Pl0iwCeQVst2KsvLQo13dC8lIZLPUXmBCeE/Ly+p6++N9PvUu+R6PzT7/yewn24rXKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo0.onmicrosoft.com; s=selector2-vivo0-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mKd0F/Q7lHOfTSM0Awi/wK0Yg1iTqE2umpow7yE8VSA=; b=H3QHVyMdxIlWpV7n113HWQSm4C1PxjDpbaKkwhvI7HUGOB9AfJdPM/QvWOLDt726soSl/9u6T8+teUCyvKJ8V/edGdUHnQhM6UNT4Lq4fUpkTF+5GguERZCX71PSp22gbNZdbqTlww0HiWgUC6b4Tf6elq/Bk8P1wvs8ddjCmwA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from HK2PR06MB3492.apcprd06.prod.outlook.com (2603:1096:202:2f::10) by HK0PR06MB3185.apcprd06.prod.outlook.com (2603:1096:203:81::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Mon, 29 Nov 2021 08:35:10 +0000 Received: from HK2PR06MB3492.apcprd06.prod.outlook.com ([fe80::814a:4668:a3bd:768]) by HK2PR06MB3492.apcprd06.prod.outlook.com ([fe80::814a:4668:a3bd:768%7]) with mapi id 15.20.4734.024; Mon, 29 Nov 2021 08:35:10 +0000 From: Guo Zhengkui To: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org (open list:CRYPTO API), linux-kernel@vger.kernel.org (open list) Cc: kernel@vivo.com, Guo Zhengkui Subject: [PATCH] crypto: DH: remove duplicate includes Date: Mon, 29 Nov 2021 16:34:56 +0800 Message-Id: <20211129083456.4188-1-guozhengkui@vivo.com> X-Mailer: git-send-email 2.20.1 X-ClientProxiedBy: HK0PR03CA0102.apcprd03.prod.outlook.com (2603:1096:203:b0::18) To HK2PR06MB3492.apcprd06.prod.outlook.com (2603:1096:202:2f::10) MIME-Version: 1.0 Received: from guozhengkui.debian (218.213.202.190) by HK0PR03CA0102.apcprd03.prod.outlook.com (2603:1096:203:b0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22 via Frontend Transport; Mon, 29 Nov 2021 08:35:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea2e2e97-7dd8-4e35-4aca-08d9b31327e4 X-MS-TrafficTypeDiagnostic: HK0PR06MB3185: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:506; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8H5JCmgDu0Hfxe3IzE6prqqe3mFobHFM1Z/y0c2q9XM97E7ZHg01pylQYx0K/c0Dzm8hC0hTwvIZ3f1/TInQ2c+9SMdmLjr5admCBW/bITHe90r9Oq5/61TtqiMkhpXsMgjoNsHn1YtrZgQbFmYWaDWvLjbaEJVjt0XZAcDXN6W2cYsLrHL+nCLwfvLG3Lh1GFY5/9PFZVrcaQfbQwGIev4xDx5pBzdy4MyJplJ9W1jVq6wiynlFBwzpDOxXUqeEpA8VHRAlBTnAyXsy6a2S1+7usLaQ1cM/OxtZ4XovhNre0+xOdZyWMh3MT3RSoG8ex8+piBAgpYy3CRX1nz7LTmHt6p89/vcee9LpQLtZ+yUo+QcYshPtXnxRb55RgqBCH1oIPV1eaj8jrAXU+5TS6vfgKs0OYLBG2nVdHjUjpbHlQ7R2Q1xT+KCKsQ+AwBbEHoavIU4SaZNo4rrEBMxSxOApm3089NShyIJiPxDTlYIjuab9OLAG9h81sy02UaIr25JFX7MB4Pe3Me0PTWvY2B1rRwsPa58uEXUjcPgSTzVwqKzSyF/0jqrxlEoXdJ9ncKR1v5iMoTQZOwvp4TG6GOo8T7oJ3CxzGg7aOu4QMqHwLiY3paxBC2qRHPmQVbLnK1Gkgwody+XtL+o6uDtkvzvGgwJb3XdMiPEeuE8MUirFd9tDKHP8BGC3VTPR5AqFiGxBUfmXOmHZ5NrTU1/NiQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HK2PR06MB3492.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(2616005)(1076003)(38350700002)(38100700002)(6512007)(52116002)(83380400001)(107886003)(86362001)(6506007)(6666004)(4326008)(110136005)(2906002)(5660300002)(6486002)(36756003)(66476007)(26005)(66556008)(4744005)(66946007)(186003)(956004)(316002)(8936002)(8676002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WAA8QVAXeReG3F7kn2hSbkrawIOWDOSBbwpGwsbmbOugMz4hlLHGP/IjIdjKYd8xFsj39emSUyib/TQfNEZIsXRzgKOF/ChVkZp9OLUcWlUrN058y/R+OJ9INZAcqblFUuUo23uND7Ob43Iji7Y5hP17xMVqIrn8t77QMYoa66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JMb6beNcNNGoRXCWJ+H9eZkkDJb7iDo23DYS9E+zB2vpd0BgCfvsGjNCeELF+Fgl1f7yI7D5N9MyAMz5Io8smR5370OJxsRU05gORrxKJ0+atU8IJay3qz4HekDtmwGckt+8ByI3WLWgxqruaBNfW8SYEYKcvHkAT8c77ZFBGLwC6ZbaTX/WJKFLnn5dDSjcI3tZv0OZqPP9XHXporXwZIqrapUnCYzGBRGx79JDxrEJweXA0P5OYFFVMFcR7NNIfCmO6gGIcT4fNtWQZlO1Qn+jbR5rz6ombC7SLPlRad10YxQRWhgCXRNvlAQeLc7apb6rbsJcPuFR8XcGb9+fWOnx5f/w2Wkyd8P6IhKnOBkz4lrVSE8Znkuzjs1fjEvsa+H0nmFZA= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea2e2e97-7dd8-4e35-4aca-08d9b31327e4 X-MS-Exchange-CrossTenant-AuthSource: HK2PR06MB3492.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2021 08:35:10.7007 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fFv3isTmvDY7MnmVXgHPOcW74T7ORIiXl5bEOYSjU5OVOGp8v9LACB2oPwW02eSY48/ssnvruRas3yTounDksQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR06MB3185 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Remove a duplicate #include . Signed-off-by: Guo Zhengkui --- crypto/dh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/dh.c b/crypto/dh.c index 38557e64b4b3..27e62a2a8027 100644 --- a/crypto/dh.c +++ b/crypto/dh.c @@ -7,13 +7,12 @@ #include #include #include #include #include -#include #include struct dh_ctx { MPI p; /* Value is guaranteed to be set. */ MPI q; /* Value is optional. */ MPI g; /* Value is guaranteed to be set. */