From patchwork Wed Nov 6 14:13:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 178714 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp666300ilf; Wed, 6 Nov 2019 06:14:36 -0800 (PST) X-Google-Smtp-Source: APXvYqySXXnkFD3i7Jrv02//qd5A+aY7kV/nMtNAYDH64i6EX1zn5sayGv/RvUjcuu/JJbQ7Xk33 X-Received: by 2002:a05:6402:3042:: with SMTP id bu2mr2893007edb.298.1573049676390; Wed, 06 Nov 2019 06:14:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573049676; cv=none; d=google.com; s=arc-20160816; b=QcnRnG2eAb/Rb8Y7A+/4xDOm9E+YwI6Cu5ykMFDFZGvAX873Ln0Qn+pvuUpD4+oWcj 6Kjpraox2FcWtwo0j+sEpdAXUQMxouKkNjjb/60i14YQ1xOJN27CG8yD6/Doz9I3EBpb vme2DVEjD8KXF+2a5pDw/c8nESQF3RTBjo7OL+QT+PnasMWsclDOmpBTGSukGrgzm6t/ kuCGWeuvIYyroEhdbeb/L+yk+Qvkcu3LcXRGXLsbUzD1NYBfZJDssX2hnIqnhPkbMN7n 4azLj7hXlmEDU7l9QgQZ47LLbE58gGgVjkYk9RPdrIbtHcGzXovBV3jJuiSIetZhBwGG 0dDw== 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=Bz6tm/Oq0JWNumhKoQOUWz+Q8JBAOdsIYOzjRyK0W9o=; b=hrMggOG+HXMohkkkr+Ea3OrQ3RK3XV6Y2yL0WKYnbKUvpex0mBUl2ptKzKGpnSeChm 2FnSrSbkOvGITg1wFvAqYK8jzlm9Zi0NstIfHFg8E6YXEeI8ClK5NIfYrP4iW9mFgecp a3vIAib5abtC/RoeRt/N6y0X6gHrRaQcPjtWUsABDKluDRp3JKPGv69EeBs0T1jMTQ/Y Jc9MGpzX2ZRPHsG1W9Kp+P4ljpB0O7NiTE/ycifrkZ9i5P1Bhc2sGs7/MMve5TAnvfRL uNnrBY1AoiNJqr386FTvWfrnB3LIHrzLWXqBFIRlo7LzAG+KQF41CZVfUq13NZj+IKcm PsWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jlbxIkKe; 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: 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.36; Wed, 06 Nov 2019 06:14:36 -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=jlbxIkKe; 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 S1731804AbfKFOOA (ORCPT + 3 others); Wed, 6 Nov 2019 09:14:00 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53162 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726917AbfKFONa (ORCPT ); Wed, 6 Nov 2019 09:13:30 -0500 Received: by mail-wm1-f67.google.com with SMTP id c17so3609543wmk.2 for ; Wed, 06 Nov 2019 06:13:28 -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=Bz6tm/Oq0JWNumhKoQOUWz+Q8JBAOdsIYOzjRyK0W9o=; b=jlbxIkKeL3Kg9sDbtCvzA0n80dNlWQeuKrHjCLy6JkLv+44YWN0XV/6Ri5hrDJmKx7 RMw4nFFVFEbc3Y43ASQyDevRbQ1KafjwpXr/+E2NcnKi61gvBNO4T5/CoC/aVOJm1lF8 afbdpOMvBrB1PiyE7mIkTCZmfFEppYlBRLE9bG4/7knt6uyuQCtc6yz3OfqEd7nJhW4y GaY42uHnvI3nskibfGwiI5um1+tf3nhRZnrxGC/x4jUZBdRvl7Ux9op1d4aYxNqMN6Yy Ugk6EsBMx1LG9OwSj5B/GAIoV5iSi0eBnC1ZNGpu0dDycG59m6by5s72ZnVqiH3P+Yu/ polQ== 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=Bz6tm/Oq0JWNumhKoQOUWz+Q8JBAOdsIYOzjRyK0W9o=; b=WiJ5TaRWxMCYUZXyTrE2+v1Cs847FFT/N9eeNj0nQglEySYMay8A3pjmO0WTmkBD9j N5vkHjRVodXycbyuDhAtazK/8sz3Qc4WdcCYncYunYDTF0V+bx7x7+bUmHv4hq4EvZjz vCst3oaW+3mL9jcXXtc7kvtsaEYZcNseXbeeyEw9gQyrNT02685N9FFwIkCzizPDdqdW FhkP46FdJWevfEZxqXcRl0uwGabfI3ZhCZcLOvdtbNFeC2fizHTxTpbOUYPVf/pa1tiD YGt/oaxn6Y4CQ/gLyakz3N39zcgc9ZihdJ0S/+We2uA0zOL2qmzZHBkTIjnjd7KGxed/ XHhQ== X-Gm-Message-State: APjAAAWSP8wtGQlEEVBJgv3CpVSkKg7TfsE9hEPxdJyGap6mNfDArtNv uE5gmRUd/eFTYceALZf0LHCEkg1OFLHPsg== X-Received: by 2002:a05:600c:28c:: with SMTP id 12mr2652459wmk.25.1573049607535; Wed, 06 Nov 2019 06:13:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 06:13:27 -0800 (PST) From: Richard Henderson X-Google-Original-From: Richard Henderson 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 03/10] s390: Remove arch_has_random, arch_has_random_seed Date: Wed, 6 Nov 2019 15:13:01 +0100 Message-Id: <20191106141308.30535-4-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: X-Mailing-List: linux-crypto@vger.kernel.org These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson --- arch/s390/include/asm/archrandom.h | 12 ------------ 1 file changed, 12 deletions(-) -- 2.17.1 diff --git a/arch/s390/include/asm/archrandom.h b/arch/s390/include/asm/archrandom.h index c67b82dfa558..9a6835137a16 100644 --- a/arch/s390/include/asm/archrandom.h +++ b/arch/s390/include/asm/archrandom.h @@ -21,18 +21,6 @@ extern atomic64_t s390_arch_random_counter; 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;