Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6143292iog; Thu, 23 Jun 2022 12:14:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u6dvsFBmfDnqrbyVPzYYOSutbqlQJ+kNeujuMkSO2wBr+cVTw6Xyo/ZqdjLr5LyfjxWl28 X-Received: by 2002:a17:907:60d2:b0:725:5611:cea6 with SMTP id hv18-20020a17090760d200b007255611cea6mr4412863ejc.60.1656011679907; Thu, 23 Jun 2022 12:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011679; cv=none; d=google.com; s=arc-20160816; b=QvdMlBnI0EXBt9asu1Xf2/57+uLloIeBvzdm3txeDNm77t3DuxpoEdIrg2AlHb22i9 bZpggZxppeWlq30xPQiRYoEIMU+jJxFHhDTawrxMoYp31ZDkREeevKLg87lGjefrtm3p pKje94Iy934tfL8OChe3Yi0ZSFK88OkiY487Ky6fzpKhGtghQP6E/e0567wiLIzkUpEc ivDIf17+Mv5ZVl2VP9HeRDCtd7CM8DCuV6DlUBDDr7HbB9pyX/CnYHska64afr50wO82 8+bHvCdz8brhi7NIqTGFdgjFZCODfi/Fc3LLBKCadLHfWtFKhAC5TnHH4BvA5waLRjIT dQhw== 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=w+ErvkHZSjM+rCgbitBLFeedWaqriV69qxMPYaHHSMM=; b=m+2dNELcA0288K6m0/nEy6idssQuzKV+oEvlXWwQYwufT+5mhiXbw9mJam4ayBoRoR t0Bh2z0Igu2WJq4xSWnwSR26p3ZM2+h0Sn/7JZZvKSU/EMCB7WnZ05VaZkndWO6PXryC z41/TuPXRHJEz0H+E2XzgTGdquTtoiuB06kHJsSXvHqpyxb8zc31pY7/kY0XBQdpQ/QO CSJnM2uWmUMR0d8uS2eJwzHOy45BBljn96N3235uUym9zx3mK/OPqWIXEp/19yExmKfF kuypONMnnhk0tlud0/XakPMNACpsx6IqIfJKenAaz1/rCq+/6aqCaZ6c307H3+MkVbpB 8dvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sXE1c3xb; 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 s4-20020a17090699c400b00722f4502e2csi972718ejn.631.2022.06.23.12.14.14; Thu, 23 Jun 2022 12:14:39 -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=sXE1c3xb; 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 S231449AbiFWSBC (ORCPT + 99 others); Thu, 23 Jun 2022 14:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235451AbiFWRzu (ORCPT ); Thu, 23 Jun 2022 13:55:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35479AE332; Thu, 23 Jun 2022 10:15:26 -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 ams.source.kernel.org (Postfix) with ESMTPS id B8860B82498; Thu, 23 Jun 2022 17:15:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1447DC3411B; Thu, 23 Jun 2022 17:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656004523; bh=qAp+1FtUo5m3pP8NSq/qXrqVcDNdNIOx8aS3upOITXY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sXE1c3xbtcUtgnXAE6/Elq0tNNrUen9Fx993Oo3GlPvt/RCgvm1+ueZ5VRGPTXIXv niQddEBMZ7P+duhIq5+tKgN+iW20cbr2MGt6bUbwGT417k2meHTCeseQawq7hBH3Ab zBLaHr5m+2VWc1kZwfTOEtKjVBWTpch/At3dSowg= 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.19 037/234] s390: Remove arch_has_random, arch_has_random_seed Date: Thu, 23 Jun 2022 18:41:44 +0200 Message-Id: <20220623164344.115274680@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: Richard Henderson commit 5e054c820f59bbb9714d5767f5f476581c309ca8 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-4-broonie@kernel.org Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- arch/s390/include/asm/archrandom.h | 12 ------------ 1 file changed, 12 deletions(-) --- a/arch/s390/include/asm/archrandom.h +++ b/arch/s390/include/asm/archrandom.h @@ -21,18 +21,6 @@ extern atomic64_t s390_arch_random_count bool s390_arch_random_generate(u8 *buf, unsigned int nbytes); -static inline bool arch_has_random(void) -{ - return false; -} - -static inline bool arch_has_random_seed(void) -{ - if (static_branch_likely(&s390_arch_random_available)) - return true; - return false; -} - static inline bool arch_get_random_long(unsigned long *v) { return false;