Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1634651pxb; Thu, 28 Oct 2021 07:21:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzz/G9hl6VVQkH7Kw0rzc6XtJsfNBN02f2tIhJT6E9t0TGu79PBfzn1FojC1vB2k14js1uC X-Received: by 2002:aa7:8213:0:b0:47b:fc35:db26 with SMTP id k19-20020aa78213000000b0047bfc35db26mr4577417pfi.1.1635430872788; Thu, 28 Oct 2021 07:21:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635430872; cv=none; d=google.com; s=arc-20160816; b=GrorApwjSf/Fq3KPTT8vKp300243PJdrDilISPZ6SGCLecKxUFb8ZyeL1WfocSsXpa e3peOBmMECkoWNJDMXfTlFxgRm3L4jIukzju8MMI/QfO0V4TsKfMsph0Wz3K7dlrzJfw sK8OAtpSRQZ1qGex5YXI+rPjuxZc950FFIvG8vynKRrWMgrvp64Un3RCmuHRaQwU5znm Z1iQAJvEjVcmAUMuB+iST0mFTpzHBIYdkCr0vbP7Gu0hhQEmWSZXEM2XQdXLh4A6iSnr L/nKT/CkQviSuLfK/zXQKb2N72ZEr7e2mcML2rA+GblNoRjP3BkJ2/Ms/220tSKXlE0B gwew== 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 :dkim-signature; bh=V3KiU206SAU31NUfwpS2+BkRGT20ITYrNtM1Dgg2dPQ=; b=f2PGvbEhGVwAX8erDnlZ+Jp+6kFE9eJeRX2GaiHVKuZLn64OWJZKwBoYVuW799RTBj C0ZryKG5NH3gf8O5E1pnrwvdYjrBbcaMK+ckN/DoNc/0P8nk2d41VGUSPRrUBx+4XD2M Wil9hf6G2mBVSwOMjo/0/pQOqBVCWbRU4yI4qKl5/NL34eNJu59W6OQDlsf5EacudUW0 lt8RUaIaNVmi+0Lb62LiB7AG7bGCDtTEdBotDp/BFPfVAwbEelSxAfPNhQto8w1ENDUX 5ObiUDFx4Gz6qoTTDO5QUrCIz+cqr45cJ/IiG9HVtU6kUuUSVDJ2yiCerIf73ulwyUnk pHxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="EU3xEG/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si3769396plp.69.2021.10.28.07.21.00; Thu, 28 Oct 2021 07:21:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="EU3xEG/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231164AbhJ1OWY (ORCPT + 99 others); Thu, 28 Oct 2021 10:22:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230305AbhJ1OWX (ORCPT ); Thu, 28 Oct 2021 10:22:23 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9F28C061745; Thu, 28 Oct 2021 07:19:55 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id e4so10486470wrc.7; Thu, 28 Oct 2021 07:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V3KiU206SAU31NUfwpS2+BkRGT20ITYrNtM1Dgg2dPQ=; b=EU3xEG/3dC9YXPW/ccVFr8K3ChYeYFaYcNGGtHp0RPz/O0Ec7X9YV2fflD58Vb/Xso e9oHK0zp1VWtKz/TtPv+KlKv0VY+4wEx+KVkrpdQYgTP+IHKbLJs/vKYgBthSHiLH7Si vHKFVvvoU6t7ADJSwLn97xxpdkBa55eS7kQUVcD/5VuGcYQ0EZQdV/4kyNJR8rHzS9Dw zuoHixsB5EbAsiKAUaK41cjTNEj2Fw4a5SWEgWTSkcH1v/pENY5Jitp3svHZAmly13W7 zxc/xp4Gm+1aj3Su20bhbwplVlkYEdigikzOeMADEPj/FMzWEveXImKKEM85ea1SdlZA zcXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V3KiU206SAU31NUfwpS2+BkRGT20ITYrNtM1Dgg2dPQ=; b=t4ziafhfTAN9/+a0WfvKLY6LYFOdVGVEWGnHbzedNAg7bhzF9fL1LYGcJfpZh9PP9s Xoci7B7olAdLQB6zjdj3uQGw75IFH2KIO9yJYvjSDq5UP25osY3XA+VmXuIn8eqqDaAo HaDjmNfVtOsZUUYNQKGNpU5jUA//72l0pTcSFNLCBQ3EZ8pM9skoU7ejddNIeLhwMdCk Jq5t9A/fRzZz+6HJg6uynOgiRmcJkBadfkS3koxPBYTE9gXogFqFB5FVYL4jQzERX9Xl x3bosqjtWZAj8CNEk4wnDvOU4g5pOJEm+GiHNcE43jVEgax8ALf6a4QCmdKB8HHPURMW fTjQ== X-Gm-Message-State: AOAM5332ANH1JWdP9lYv/rGDpz+KSfd3qu88vdOWOHyXecB7EtXrro3g a9EUBSgc4Kfi0kBfhDngufQ= X-Received: by 2002:adf:c00d:: with SMTP id z13mr5966699wre.299.1635430794430; Thu, 28 Oct 2021 07:19:54 -0700 (PDT) Received: from localhost.localdomain (i5C74E249.versanet.de. [92.116.226.73]) by smtp.gmail.com with ESMTPSA id m2sm6284546wml.15.2021.10.28.07.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 07:19:54 -0700 (PDT) From: Lukas Bulwahn To: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sekhar Nori , Bartosz Golaszewski , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Dinh Nguyen , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH 01/13] arm: debug: remove obsolete debug code for DEBUG_ZTE_ZX Date: Thu, 28 Oct 2021 16:19:26 +0200 Message-Id: <20211028141938.3530-2-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211028141938.3530-1-lukas.bulwahn@gmail.com> References: <20211028141938.3530-1-lukas.bulwahn@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 89d4f98ae90d ("ARM: remove zte zx platform") removes the config DEBUG_ZTE_ZX. Hence, since then, the "ifdef CONFIG_DEBUG_ZTE_ZX" in ./arch/arm/include/debug/pl01x.S is dead code. Fortunately, ./scripts/checkkconfigsymbols.py detects this and warns: DEBUG_ZTE_ZX Referencing files: arch/arm/include/debug/pl01x.S So, remove the obsolete ifdef CONFIG_DEBUG_ZTE_ZX. Signed-off-by: Lukas Bulwahn --- arch/arm/include/debug/pl01x.S | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/include/debug/pl01x.S b/arch/arm/include/debug/pl01x.S index 0c7bfa4c10db..c7e02d0628bf 100644 --- a/arch/arm/include/debug/pl01x.S +++ b/arch/arm/include/debug/pl01x.S @@ -8,13 +8,6 @@ */ #include -#ifdef CONFIG_DEBUG_ZTE_ZX -#undef UART01x_DR -#undef UART01x_FR -#define UART01x_DR 0x04 -#define UART01x_FR 0x14 -#endif - #ifdef CONFIG_DEBUG_UART_PHYS .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS -- 2.26.2