Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6147100iog; Thu, 23 Jun 2022 12:19:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tnfr8sXMBFq0x7oaZ49eg4QFzjZAS64aQfGmfVc/UAfAq1JRp3ziqWelwKJFGMtg2NuyyS X-Received: by 2002:a17:902:ecc9:b0:16a:edb:5bf7 with SMTP id a9-20020a170902ecc900b0016a0edb5bf7mr29708644plh.90.1656011940265; Thu, 23 Jun 2022 12:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011940; cv=none; d=google.com; s=arc-20160816; b=oloRy5+cQ6XT6qD3xv2P74s+xrecdFZBwGBDcxExCyFp8ysK1Cs7jEW1Jp9XXd3v7n bwl1VQ/pZQ6/gMv30A2B9MpTiHP42j7lZ/6M0SXPoMPhl1pA2VvMOd98kXgBGjIxabCg byScjTDHGQqdPOK+iFHQhxv2GLlhVvgxLLzItsw0GAseW1/xy6Mj2r/CLPKIrTrJwBjv fDFym8SxO/E69NHNkoq6ITP/HADmTnNB9KJa0/7vm5mCkQ0xX7DOCfSBylm16JY5jE1X Gqq7zNup0GNdhznAb/EBsuugvZkSpp2iLEM3mWBXpJqF/VBaJANbSHs5bxlLqlH3CmOS eaQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3nGpn4GKV5PYgWmYehp2S4AUMM+raZDQeAEjrsiLR0Q=; b=BhwULvAxxcv1w18yd1pcqKvLP9tvhB5WJduYu3g3viQmAqDfXarT1+AzMiIqqyIjKW E1ZsB6HqB2/APJcMjNd2ZODNNHasByGJ2N3Hsi079R7oyZBq0DjmElmBnoQeju76r6E0 mS/mHLRuplo1EMeT7YFAOpMWahSFyq1z58ZKDunLVkANPr3Jp7Vf8PLob9d0EkGAb61b AxOFmxuZSXOIogeNrOrOqwrcb4EFbp0hNQ5s9nbZ4yykBcguC907cgVDDYx/QNf5W0JA TZA3z7gLqyBmT+RTv6X/xnSv0c4RKtGPo/LvnMW9pZgY+lLNk84UHymxGv8g20dWO6rP 0JBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hAA+Fl0S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a17090a600a00b001e86a88ccbesi241506pji.81.2022.06.23.12.18.48; Thu, 23 Jun 2022 12:19:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hAA+Fl0S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235768AbiFWR5k (ORCPT + 99 others); Thu, 23 Jun 2022 13:57:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235625AbiFWRw5 (ORCPT ); Thu, 23 Jun 2022 13:52:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5857C9214F; Thu, 23 Jun 2022 10:13:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7219B61DB3; Thu, 23 Jun 2022 17:13:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38F24C3411B; Thu, 23 Jun 2022 17:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656004423; bh=oD21TKpBLNIfhdnGC4USn4S/vNQfcl7mQO9P0WEySEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hAA+Fl0SshOqUJmzMHppfTObN6tBKpqmsw76IIqO1giL2NQspUncQZI/scjt77B/r O9mIDLqLlcyRvUeavOpYGUmM7vOq5UhoYSaxUy+gkzbO5HyVkyrYD7U8VA0B5tbwrc nzKgLSRjy8CXfuD2G2kd1ATbP0oY3h/8RWSzL9Z8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yangtao Li , Theodore Tso , "Jason A. Donenfeld" Subject: [PATCH 4.19 032/234] random: remove some dead code of poolinfo Date: Thu, 23 Jun 2022 18:41:39 +0200 Message-Id: <20220623164343.974428687@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164343.042598055@linuxfoundation.org> References: <20220623164343.042598055@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangtao Li commit 09a6d00a42ce0e63e2a15be3d070974bcc656ec7 upstream. Since it is not being used, so delete it. Signed-off-by: Yangtao Li Link: https://lore.kernel.org/r/20190607182517.28266-5-tiny.windzz@gmail.com Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- drivers/char/random.c | 30 ------------------------------ 1 file changed, 30 deletions(-) --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -431,36 +431,6 @@ static const struct poolinfo { /* was: x^128 + x^103 + x^76 + x^51 +x^25 + x + 1 */ /* x^128 + x^104 + x^76 + x^51 +x^25 + x + 1 */ { S(128), 104, 76, 51, 25, 1 }, - /* was: x^32 + x^26 + x^20 + x^14 + x^7 + x + 1 */ - /* x^32 + x^26 + x^19 + x^14 + x^7 + x + 1 */ - { S(32), 26, 19, 14, 7, 1 }, -#if 0 - /* x^2048 + x^1638 + x^1231 + x^819 + x^411 + x + 1 -- 115 */ - { S(2048), 1638, 1231, 819, 411, 1 }, - - /* x^1024 + x^817 + x^615 + x^412 + x^204 + x + 1 -- 290 */ - { S(1024), 817, 615, 412, 204, 1 }, - - /* x^1024 + x^819 + x^616 + x^410 + x^207 + x^2 + 1 -- 115 */ - { S(1024), 819, 616, 410, 207, 2 }, - - /* x^512 + x^411 + x^308 + x^208 + x^104 + x + 1 -- 225 */ - { S(512), 411, 308, 208, 104, 1 }, - - /* x^512 + x^409 + x^307 + x^206 + x^102 + x^2 + 1 -- 95 */ - { S(512), 409, 307, 206, 102, 2 }, - /* x^512 + x^409 + x^309 + x^205 + x^103 + x^2 + 1 -- 95 */ - { S(512), 409, 309, 205, 103, 2 }, - - /* x^256 + x^205 + x^155 + x^101 + x^52 + x + 1 -- 125 */ - { S(256), 205, 155, 101, 52, 1 }, - - /* x^128 + x^103 + x^78 + x^51 + x^27 + x^2 + 1 -- 70 */ - { S(128), 103, 78, 51, 27, 2 }, - - /* x^64 + x^52 + x^39 + x^26 + x^14 + x + 1 -- 15 */ - { S(64), 52, 39, 26, 14, 1 }, -#endif }; /*