Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6129183iog; Thu, 23 Jun 2022 11:58:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t+dhR4vwICB0dcwW8rkY3ofbowM7tDkCYlI+VDD32s+/rZet9P3tY+mLxYKQq122NcXbqA X-Received: by 2002:a17:90b:388c:b0:1ec:d129:704 with SMTP id mu12-20020a17090b388c00b001ecd1290704mr5567054pjb.98.1656010724832; Thu, 23 Jun 2022 11:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656010724; cv=none; d=google.com; s=arc-20160816; b=g1C5mZAXYB3w7j9sQRx19RXBlP1PtKclOMxAxLiKSYTak1BlwyhlDWkLoEaZodpPuF DEcbQs2yF8b58DSzv+91wUcOILrJ0EDC+7Bj+Gn3f6m6u1lACaHmeGSaYUEWKPOIe4Mj P8z1T/KOpJrDav+lTmMpZADRNeVWxWMpaSX3XtTJhvAhVdFQTovpLMmGiGqQD0qqoliY yLRI742g+LuWtNZd4b+I91Z0MbNVDa54bC8Pwc98HrLVt7tYGhcl0fwB987kNeOa46jy N/xPPJ1ObaNd6JoCeV8Y2e1IE1H2BgNRXY0mh4m8vhAILGWROR3Sev0Jx27XmVL3H+6B neeA== 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=0O/9qGf58MBfS5/FwoMPWP7VV/SQgCcWeCa2n0xo3C8=; b=Y+gkw42E8eKpaDy3IH6+myGVUWcAdIHjXFdotqk9IhcoJQIUw7aYBwaqSlsgp/sRje y2hBA+l9VhlB24uelDRZ5ibX4mL0t+jed28JVZySe83+CwHJtAz1Q9T4iWPag/Zu4GjI xLgkhn5moghpyBBX+d84OfoXQdqeKeWGWUwftaPqHAPBq/RUnJ5QHmR7xfTlduFRPPFK at0MFtoI98CRUKjiUmSvN93oKO/84MoXImZUyIT059lDCEoI1XFTQ6XjzC+pLEvq64Bb +IDiZgYTW+qTpNn3erQhgKIRdrvbsgMB03xtvQqqPtBbiSUHind74WpAVSMstF4spBVk Z8Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KTpbHtQd; 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 q11-20020a056a00150b00b0050605f7112bsi449079pfu.130.2022.06.23.11.58.32; Thu, 23 Jun 2022 11:58:44 -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=KTpbHtQd; 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 S232382AbiFWQ6j (ORCPT + 99 others); Thu, 23 Jun 2022 12:58:39 -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 S233374AbiFWQut (ORCPT ); Thu, 23 Jun 2022 12:50:49 -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 0CC4D4F1F0; Thu, 23 Jun 2022 09:48:46 -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 9885D61FB7; Thu, 23 Jun 2022 16:48:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60E1FC3411B; Thu, 23 Jun 2022 16:48:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656002924; bh=eHUsmPq6rVHbWd6VJ6FVayzi+lj9DUoCq506ZLeh6zE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KTpbHtQdeWB9soMwHol32MU/48/fIUnmzBg4AID4k7YXHWz2c8qtJT72jirPTnUFU 5z36W6esbMcmgUlZJhpHFLJVQ5IRpLzuOitZBYfIJSX1Bi6m6FgkRiOVdOXRIo5/W4 aC4t0lSLUexZ7fo8MDp0mNX0WHRWlKWC71+4NxIQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Richard Henderson , Mark Brown , Theodore Tso , "Jason A. Donenfeld" Subject: [PATCH 4.9 070/264] powerpc: Remove arch_has_random, arch_has_random_seed Date: Thu, 23 Jun 2022 18:41:03 +0200 Message-Id: <20220623164346.052178272@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: Richard Henderson commit cbac004995a0ce8453bdc555fab579e2bdb842a6 upstream. These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20200110145422.49141-3-broonie@kernel.org Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/include/asm/archrandom.h | 10 ---------- 1 file changed, 10 deletions(-) --- a/arch/powerpc/include/asm/archrandom.h +++ b/arch/powerpc/include/asm/archrandom.h @@ -33,16 +33,6 @@ static inline int arch_get_random_seed_i return rc; } - -static inline int arch_has_random(void) -{ - return 0; -} - -static inline int arch_has_random_seed(void) -{ - return !!ppc_md.get_random_seed; -} #endif /* CONFIG_ARCH_RANDOM */ #ifdef CONFIG_PPC_POWERNV