Message ID | 20191106141308.30535-3-rth@twiddle.net |
---|---|
State | Accepted |
Commit | cbac004995a0ce8453bdc555fab579e2bdb842a6 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp666209ilf; Wed, 6 Nov 2019 06:14:33 -0800 (PST) X-Google-Smtp-Source: APXvYqw8oTAdhWOeBW1bUODCXqNGcjFQSXMIIeOWJq2mE5PQd+gopHww7jHA2F6G3pG9qRFbQ0K1 X-Received: by 2002:aa7:d299:: with SMTP id w25mr2998185edq.14.1573049673223; Wed, 06 Nov 2019 06:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573049673; cv=none; d=google.com; s=arc-20160816; b=zpCwm8ab9RThtIKkIyf7NE+xdtxJ13J+1nOGq6nlkz2syDMeVvuU3H9fF3Lz7I+Snr RaAWSZgspHbdxj3Ob+O3IPSpuO2zUmJYD1NmomTXdUwu3fXxY4nvN9/gyRmkTU4slqz8 EsDb7yqHXf010tMtQP6F8gGiF43qYKOo5Whd7w/DBU4BFuRXK+pPzHPsdM7pgMKdiI4T dBtARymAiQYlycqi/0/89PzoayXcdwNqK4Rr940oKX7upT6TDR/H3qR/g+xXoitBavPI H+fJLHH50C45sGOtV/14w9pwedDhoVyv5XzEvtXVZIVQDVuQCwSgEe3I90ag0/O5wic1 K1VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=gp6KNxHNYtmFYMKMCYa0gsOo8NLakQXjLI1+wdZrrFY=; b=CmfnEKQ7rgn2VUCOM9YvtjD4zMLWAIR4JwF/hNnBq9uK3Q+cE8ISxoWpMkxGYwsF8o yvom/bJd/eKVLm51LCr62SsFQk8en2Syi3od1pfmi4jLLYFFNW1g8B4mD2L6GWByKl0Q djmv/bWON+wHFaUOeiYof7oa+P+a5ME/sm4AfRyFzAgUSLfpEDfVtOA6KTbvMImkV0pG +Z2fxaM6jABVLC0H1WGHNo/Om57lvAOPSV6MP9oxOUL7AvSUfAfcPdlunclMHff+KTp0 om/oMcBlnKjOkEEXJbs7RQQS/EZAKErSnkRKPzYb7J47/rSOyL3ZDs/MbZ+4vZkUSS+A okVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Opt6blMO; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-crypto-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si15189348ejp.287.2019.11.06.06.14.33; Wed, 06 Nov 2019 06:14:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Opt6blMO; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731882AbfKFOOA (ORCPT <rfc822;sumit.garg@linaro.org> + 3 others); Wed, 6 Nov 2019 09:14:00 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53330 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731804AbfKFON2 (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Wed, 6 Nov 2019 09:13:28 -0500 Received: by mail-wm1-f67.google.com with SMTP id x4so3608809wmi.3 for <linux-crypto@vger.kernel.org>; Wed, 06 Nov 2019 06:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gp6KNxHNYtmFYMKMCYa0gsOo8NLakQXjLI1+wdZrrFY=; b=Opt6blMOd91CMO9Sq9Y5A3q4PwF3GSjNzIXhSluaGOyG+rbDxGLdCQGbPVE5bXKBKZ aiLXzj4m6i5ZQoTXpmx5rChqonOJISLaMtdj1+byk7Lr8lPtDs28C0jlPzGHMMtEbZmm 7dm9d8IvcXzRGMnZAKYMbPIBPY2bDTOk49lIHT4bFr5KqZ5prLSSgXUOv6jUPSLjGUYR 6DJPE/b5BRZTkL0wI0LsgP3k3jLyGQ9uB69hYUuVFG9xxRxpoVLOxmiRAUjNlawvAFIn cXqLhSYYSbeV1YOl+1KwcdK62FIuDKKMLAF0JTvEXftqvOXeMxpVSFsKMNrZ9n/m2c0V I1nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gp6KNxHNYtmFYMKMCYa0gsOo8NLakQXjLI1+wdZrrFY=; b=KtuKwFFAair/JrSiZegdG3IuOb5H1N+cPz6K7DQB4TZG7D8aXqwIFpv7+OSU+l3R/Z tp1+IexHFGcMSYvtEPDOAEufBdRV/hWzwk/zUSd8tNP60BQH7WvQmFB/WPPM1U5noeAT kaZ4GM/64w56JJpPF+uNW58qjhMyaTgUkVKmTR8/97hyar4+bI+jDLpT/jXY28/OYA1e FgX7yJb1MWES08GQBl7cfMUWglGfivBBwRY4rVSXqB6Z5SbD7UWpvBL38B4ZUeIeQKyn kkmdyusCi85desX7OUjCpaOnA7+zL//Z9hlMmHs8tkRH7ETmyGv8VGnA6VXReSBsI+hH l55w== X-Gm-Message-State: APjAAAWMa6cHtvBtV2uM5ljiebPlzcmFNQyhnbfpdmFpG8MW0G0coIdy i5GQlefr9ZZdV2PcNFyoU/Zaugpsc4zpzw== X-Received: by 2002:a7b:c549:: with SMTP id j9mr2820695wmk.88.1573049605900; Wed, 06 Nov 2019 06:13:25 -0800 (PST) Received: from localhost.localdomain (31.red-176-87-122.dynamicip.rima-tde.net. [176.87.122.31]) by smtp.gmail.com with ESMTPSA id b3sm2837556wma.13.2019.11.06.06.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 06:13:25 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> X-Google-Original-From: Richard Henderson <rth@twiddle.net> To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, linux-arch@vger.kernel.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 02/10] powerpc: Remove arch_has_random, arch_has_random_seed Date: Wed, 6 Nov 2019 15:13:00 +0100 Message-Id: <20191106141308.30535-3-rth@twiddle.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191106141308.30535-1-rth@twiddle.net> References: <20191106141308.30535-1-rth@twiddle.net> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
Improvements for random.h/archrandom.h
|
expand
|
diff --git a/arch/powerpc/include/asm/archrandom.h b/arch/powerpc/include/asm/archrandom.h index 9c63b596e6ce..c2ed3b4681f5 100644 --- a/arch/powerpc/include/asm/archrandom.h +++ b/arch/powerpc/include/asm/archrandom.h @@ -34,16 +34,6 @@ static inline int arch_get_random_seed_int(unsigned int *v) 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
These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson <rth@twiddle.net> --- arch/powerpc/include/asm/archrandom.h | 10 ---------- 1 file changed, 10 deletions(-) -- 2.17.1