From patchwork Thu Jan 25 08:18:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunwu Chan X-Patchwork-Id: 191909 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1498821dyi; Thu, 25 Jan 2024 00:36:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgsqwsB4/Kpe/SUuz1o+2aHuWDtjAhs+3cGiWfJGf3bheg2T/A+mkEfpQElbdqpfFtxFhH X-Received: by 2002:a05:6870:7a06:b0:214:d990:4b80 with SMTP id hf6-20020a0568707a0600b00214d9904b80mr149482oab.116.1706171795807; Thu, 25 Jan 2024 00:36:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706171795; cv=pass; d=google.com; s=arc-20160816; b=iypPGA4oz8bvy5+OBHyxRW0YeHvaXic2AcD/4UkqP4SEB1g/jMIZbY7yEmA1RuI7+N 5+L1j2ZyLrAqJtWEuH/OMQ0YMcalb4tTluDrkMpFDSJa3lhnyEa1NK6lSiwdo3PoI3N7 eNnP+ZG4iJIsGmGbWI3uZFQv3cB04RUbQEROhqwuSoimJKTXO/KdXJfEsa5/3jWYjRf9 pAIi6QZL1i7ZOMYGU1IzLlYPg0PyZqyN79YeaZHpZF5etYhL8ka+4Fsc62cAE0Ci9E9f Q5LFAxaFayLY2bpXtsN/Wv+x7urRB3gWzvq7RdSPx9kDOM6jlAUUPSg54bFbuInifl9+ mp4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=DUZv/BbfEXrEFBxkdQiLzdECsHZn5O/H1wjKQuZDGV0=; fh=54vxeaja9jgIS2wCDUpJ+ahqeZdSQ6KBTG/HRdQft1U=; b=DAYMA4N2vLj7ePEY+emZndYjEW8B219dB6aCjAJoSPe1wqRfeZLQLaAyw3sM6HYXg0 PA6djbIycRuTzyiOBFd5UkdrAAaMMlg0l8xwVcBSq17NpEQ4hiAg7dEBJVE7C5TBDTGz EZked///umCAYNsVXv4QRxDrsjHzhbdSnhCZ/4rYMr/QLFSi5lEUEcNgtsF9B6KrEacI LYGfseA32iL7bLHLVGCENSp9sTcMOQoNbdisxZ0YkGVacyr1rtakdmZN1TCp3+rI5aH5 6mpOnlupa1u7X4vcVP17K1McXopxSau6VLk6QcLMIAaP0lXUJ/erB9A2bo6/6pGoPEZ5 JXpw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-38157-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38157-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t8-20020a63eb08000000b005ce024bbdb7si12983714pgh.345.2024.01.25.00.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 00:36:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38157-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-38157-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38157-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 77B95B21F0C for ; Thu, 25 Jan 2024 08:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5859A179B5; Thu, 25 Jan 2024 08:19:20 +0000 (UTC) Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A38D617581 for ; Thu, 25 Jan 2024 08:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706170758; cv=none; b=AIIFbG4kSP8TlyfCzkf+xYboX9YDZMR4ub1KnLuLNeUNFZywJzhfS+OndiFXLKNVWallE9P7fcwetu5MCZlzyHXHYZxSAweG9mb19wois9t5lxi3/8QpfuRxgbZ5TXhz8sLNHapqTwScw3Pg3ov2J7W/xEfaw7md0CP1AKi/Z1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706170758; c=relaxed/simple; bh=Pe3+Z5TprG1MCm3XH/wvYQEymtq4W+JtGYVqdZcG9Uk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ViddstdiiwRG/NA7SYhb6eF4YoTGTo1TypxD9S75M6XoIrs8x0A5JEnvIBq+bJIg7HnoYytQrbII/kmN1zgZoNxKCXkjLk0k6QSgdPFSbQk1k0oD0xXkm8AelCETKV7QNu3IGXiaubMlCPm+L9tMMlqmsHeSZdpVCCg0XxRUaa8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 875a5205a7694e01b70b9770baae8f36-20240125 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:5b8963f5-aa20-446f-84e2-6c7c914ac904,IP:10, URL:0,TC:0,Content:-5,EDM:25,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,AC TION:release,TS:15 X-CID-INFO: VERSION:1.1.35,REQID:5b8963f5-aa20-446f-84e2-6c7c914ac904,IP:10,UR L:0,TC:0,Content:-5,EDM:25,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:15 X-CID-META: VersionHash:5d391d7,CLOUDID:1a2f23fe-c16b-4159-a099-3b9d0558e447,B ulkID:240125161904AS2NEWQO,BulkQuantity:0,Recheck:0,SF:66|24|17|19|44|102, TC:nil,Content:0,EDM:5,IP:-2,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0, OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI,TF_CID_SPAM_SNR X-UUID: 875a5205a7694e01b70b9770baae8f36-20240125 Received: from mail.kylinos.cn [(39.156.73.10)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 1220097995; Thu, 25 Jan 2024 16:19:04 +0800 Received: from mail.kylinos.cn (localhost [127.0.0.1]) by mail.kylinos.cn (NSMail) with SMTP id 1361EE000EBA; Thu, 25 Jan 2024 16:19:04 +0800 (CST) X-ns-mid: postfix-65B21977-817775418 Received: from kernel.. (unknown [172.20.15.234]) by mail.kylinos.cn (NSMail) with ESMTPA id 7AF92E000EB9; Thu, 25 Jan 2024 16:19:01 +0800 (CST) From: Kunwu Chan To: linux@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunwu Chan Subject: [PATCH] ARM: riscpc: Code cleanup for parse_tag_acorn Date: Thu, 25 Jan 2024 16:18:56 +0800 Message-Id: <20240125081856.531595-1-chentao@kylinos.cn> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789050797077578988 X-GMAIL-MSGID: 1789050797077578988 This part was commented in about 19 years before. If there are no plans to enable this part code in the future, we can remove this dead code. Signed-off-by: Kunwu Chan --- arch/arm/mach-rpc/riscpc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c index f70fb9c4b0cb..947c88950518 100644 --- a/arch/arm/mach-rpc/riscpc.c +++ b/arch/arm/mach-rpc/riscpc.c @@ -53,12 +53,6 @@ static int __init parse_tag_acorn(const struct tag *tag) default: break; } -#if 0 - if (vram_size) { - desc->video_start = 0x02000000; - desc->video_end = 0x02000000 + vram_size; - } -#endif return 0; }