Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6141896iog; Thu, 23 Jun 2022 12:12:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tycl1FlIz/QUdo6qzZxJGpoSOL1cjDYJc/Vr5FSuRLV3l5QURikOEvmD0EeTGP5o8Bi2pr X-Received: by 2002:a05:6a00:a8f:b0:51b:5ca1:47f1 with SMTP id b15-20020a056a000a8f00b0051b5ca147f1mr42013867pfl.50.1656011571250; Thu, 23 Jun 2022 12:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011571; cv=none; d=google.com; s=arc-20160816; b=ht8QO5lRrIelh5XETNPDfmtVz7eHWqnHAbWe/2xu/mh/nNHOc6HeMwsrDGLvbrz6lE em6oIre+EG2Sz9bVaUJFfKXBa2Z1xWU3PX5P6H1qp7yusjBur4dd/uB3OeI/E9WM0Hyk FrQh/j0v0mH77eI05VqRGiLdOZTCct9c+FUDUwlXQC+KHVLNUjXph8qYOFw6GYFFbrxc twsGFZMk8Qmy4dIoTtfFK6874Gk/6WXr+l9TGNQ49PYwTNT6ZF7mnrdHYCak7KMeOs6M lSWnRePHGatVvaT/LAh9wG2iFd9TQjjc3+Xw1okS+rrTdFTjBrGjTj350fNvct0yuLio e+Pg== 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=rmFzBIA3VwIVWHELKtVtMNI/yr8hFo64fklNnLkmvgQ=; b=H7ySHTJA/JsvDwnaSJnY59QCv2hDDoc3teHqy9lKIb9B32Jq5e9RNZCB6hKXIEVW1x bjcoGZzfFFIk2+DhDpGBBYPAhKZVwrC1lXCh30B2PMavBVgn6qhlUJrnA6MKP2tjttT0 NNwVDIIkUiY9rTJ9mEtZf8ZJua2t5PKlm2/43V8yROkGp5wQpGINb2+fHJYsgXP29Jzr +aTM4oJ3FF30n8RKidYfTq9ywW9FCgIotwDhOFal6x7ZXG6eve+TBMLluzqviCUNsRCE zfWURsnRpmyU7Z0AfI1Im+acyTTlsnONTd8JJ0gy6GqwK5ZYly6LCwI9/yEEOQxyfU+0 WSog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=x0NptpUi; 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 kk8-20020a17090b4a0800b001eccf97e562si4218705pjb.4.2022.06.23.12.12.39; Thu, 23 Jun 2022 12:12:51 -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=x0NptpUi; 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 S233019AbiFWQ7I (ORCPT + 99 others); Thu, 23 Jun 2022 12:59:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233284AbiFWQul (ORCPT ); Thu, 23 Jun 2022 12:50:41 -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 482BA4F1CF; Thu, 23 Jun 2022 09:48:31 -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 830B461F90; Thu, 23 Jun 2022 16:48:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 531DFC3411B; Thu, 23 Jun 2022 16:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656002909; bh=6yvFRQG5ebow2dYPSU+snmWBHrNG4pwXJucZeHnDI6c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x0NptpUiae0sT/oAd4ziKEK7PCulMtI2Vu79G1q+b3jt9FUVKtClaDUmkf7PbePWn fyqfurAYXaGH2/4PU5jukKrRGlbTSYWCmaunk1m8aYaHxdSufo7QVs1q+7AC1kiDNK gLyL6lm2tQEShFlMGUMXSEC4/YYye+rvmWduIhsY= 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.9 066/264] random: remove some dead code of poolinfo Date: Thu, 23 Jun 2022 18:40:59 +0200 Message-Id: <20220623164345.939620241@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164344.053938039@linuxfoundation.org> References: <20220623164344.053938039@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 @@ -432,36 +432,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 }; /*