Message ID | 20230710202733.116133-3-martin@kaiser.cx |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp62657vqm; Mon, 10 Jul 2023 13:45:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlEn0pq9zskONOkXxyADeciD8o1p4ji5Ug0Im/44IEXlzDxTGkQnjof/mHb+TufRBiINxXC9 X-Received: by 2002:a50:ee8a:0:b0:51e:3bb0:aa44 with SMTP id f10-20020a50ee8a000000b0051e3bb0aa44mr9454806edr.17.1689021927293; Mon, 10 Jul 2023 13:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689021927; cv=none; d=google.com; s=arc-20160816; b=OJVbBpk8Ae6QE/Mb2wG3GPCukrwBpcXZe1ZHzmazQH7kDk8fVG9xVUjEtNa/Egm2VA YIMi7cA942KZlqYj8m7TAwweHzD7+PE86x+d/TkziIDN0w7OnzMe9+Qth630+yZQJFco IWgwbjOmZjtPlVJi/1EJHGZiQcncxExhArKQK8oF50JRRt32TjnFI01foolYol97W47h DBMlsLgEUe5N99nzzat7YqnMtVkf21cNDdGn4gq2MKqpOFWZchRFKa8d/ZZX9WpGYG00 OCRINRvOC4yNl9p5bKOJmMLlMjtEg3wFQxemfrN5tTJWMiT2Yax8S9tqLglDsykSC+QK NzBA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2d0oLrcfSbT2hn8XEJ+5QwZTiiy/B0Mk3vCcovJ4LwI=; fh=GUQwZ7uCW3sOebrGSFJwPRX8di32vmIzxh/oFyyWwpA=; b=phGsm507GOASz98iUfZmwMfJcbyeoe98Inwq1bVw/vPII0QddHLO2hD9evpQqUhBKy Hw1BpRFdQYkmy2FPbC9/wRqBckZF/k+7GF/iFz9OXnC2SQGlfzw1JIlM2YD6XiGN3j/x eG0Lsw8WhsjPBmtiRsU2mFydqoSD4C5zA6RxO2TO8g3xpZnHxgvBqe+gVVOfu6uZNceV 2/n5aLYlXke/+3qhCLktLfsQdbomDOurC5ZxmyC3VGZjCYusoXtAimxz31SZEvd4WGfq PYLFL9DsRs1b5M1q2zLcar+uI1y0TDiTT7ru+TjCtF/oFwjFCtZ8QG50RmLoMhcExqDv wXMw== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f25-20020a50ee99000000b0051e2667a8absi389943edr.94.2023.07.10.13.45.04; Mon, 10 Jul 2023 13:45:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229468AbjGJU34 (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Mon, 10 Jul 2023 16:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231769AbjGJU3e (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 10 Jul 2023 16:29:34 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BF91BB; Mon, 10 Jul 2023 13:29:29 -0700 (PDT) Received: from 250.57.4.146.static.wline.lns.sme.cust.swisscom.ch ([146.4.57.250] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <martin@kaiser.cx>) id 1qIxVe-0002mg-9D; Mon, 10 Jul 2023 22:29:26 +0200 From: Martin Kaiser <martin@kaiser.cx> To: Herbert Xu <herbert@gondor.apana.org.au> Cc: aric.pzqi@ingenic.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> Subject: [PATCH 2/7] hwrng: ingenic - remove two unused defines Date: Mon, 10 Jul 2023 22:27:28 +0200 Message-Id: <20230710202733.116133-3-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230710202733.116133-1-martin@kaiser.cx> References: <20230710202733.116133-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771067856327182494 X-GMAIL-MSGID: 1771067856327182494 |
Series |
[1/7] hwrng: ingenic - enable compile testing
|
|
Commit Message
Martin Kaiser
July 10, 2023, 8:27 p.m. UTC
Remove two defines which are not used in the ingenic-trng driver's code.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/char/hw_random/ingenic-trng.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/char/hw_random/ingenic-trng.c b/drivers/char/hw_random/ingenic-trng.c index 0eb80f786f4d..64286cbdf158 100644 --- a/drivers/char/hw_random/ingenic-trng.c +++ b/drivers/char/hw_random/ingenic-trng.c @@ -22,8 +22,6 @@ #define TRNG_REG_STATUS_OFFSET 0x08 /* bits within the CFG register */ -#define CFG_RDY_CLR BIT(12) -#define CFG_INT_MASK BIT(11) #define CFG_GEN_EN BIT(0) /* bits within the STATUS register */