Message ID | 20240125080939.530750-1-chentao@kylinos.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-38134-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1489276dyi; Thu, 25 Jan 2024 00:11:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGEuBitR8w0DQAK/dYqOyHQbaOehjoNQIliCDvToQ/KQ8KokTcth5QJ2ZyvkpN91SHYN4b X-Received: by 2002:a05:6a20:3149:b0:19a:602e:e491 with SMTP id 9-20020a056a20314900b0019a602ee491mr498039pzk.106.1706170265273; Thu, 25 Jan 2024 00:11:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706170265; cv=pass; d=google.com; s=arc-20160816; b=hjojmY1ctN5v8DuMA9+/L2cKR6xVTLD/mphUZHwomwvK8w9KR9ggFa/JoYn2/PMk4h ak54upIB3cK6DfoU0xXvIUkrvB7ozaKAjpKSUKb3bFnESutUnSD6HpxN2duoqHh+BoSJ IPuf7ZfYZuNAW6sOGPF/ojsXUynR3HaH9jmZcwQQ6LunfLKG7l6kjPwdozgU6uNEtjmK 55NrBaczaw1QGiWvl2PBsMej1e+Z6Nfseq5F69UKkW3HI0uo4T2Qfox6rn8Ie0qXsoys xLs6kd3xYesYL9H2PT2dcF2d1Jf2Vyk9g4mwzcayHGnADqIQfJ7hfojNwO8JMOlBrj6P HPCA== 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=ZfGQWN38N7Kenl4ECrWLpN7MZLv3PLSkRxP8OYg2kFM=; fh=54vxeaja9jgIS2wCDUpJ+ahqeZdSQ6KBTG/HRdQft1U=; b=gjxKb+l9OGLjvmhOT5jNDVbQHD2KtCw23xcAqPm2JGF5fmsy03TLlCCt7oDDNUQAaR ozup5apopRTCr+uy2qPuuN1q0pvXeL7SL4jhtVVvbAWCPnQGWSF/3RlGkWvUBboRwKmk 1qInX8IJwgGC5+JetrCpJRBDy1zpDBRLrHfuUXg9ZjElgy+o2qa2fQNQuadRHkbQjvKv V/q0mmeQppeWb5optFlMrVm4zupHRsZPToyMP8IO3Ix9e+6i2kFik5W4mJz4KcQhupAL tE80a2h8oMiiMsKLgR1rmrm9+9BMhQuKXTeGgbadE/EhT1fjoOt4adTJRwkUrt831Qjv Zshg== 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-38134-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38134-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l15-20020a17090aaa8f00b0028d283c36d9si938012pjq.7.2024.01.25.00.11.05 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 00:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38134-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-38134-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38134-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8EAF9289054 for <ouuuleilei@gmail.com>; Thu, 25 Jan 2024 08:10:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC3BD175A6; Thu, 25 Jan 2024 08:09:57 +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 D3CB513FF2 for <linux-kernel@vger.kernel.org>; Thu, 25 Jan 2024 08:09:50 +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=1706170196; cv=none; b=Q0rw8ftUwvHKtW2wZ/+UTLPWeq0MwaO6xhCjZp0Qqxlu+Kbe3XXLbhDHF3HFRckOGMbvBM+slLjZAx0AhbcefyJWdNeGOPSkljDcDeSjQKwPGt6M+tWRPHN3NmKYuYirt0iu3QO5osOtwbhEQepzw84H/1t9pBQ5pV2lmWVDHew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706170196; c=relaxed/simple; bh=c1qasNC4nq5/aorD9VgvyK1m+RV8WpcPerre5AzHjVI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LYIM1FOxfTw3H7Zqx6Z8+vupzIqYX0vbSLY6dbYdqKhTUo2Zwm+e1hk9TjlUy2SVVEEknZYjVkgpch85e73zD4IwFs+7KJUdZlJrEVNpFzo/V72OugiF0oXSl5VQ1rrpL87Rjig5hkL15nf3bawt7Ejs6QUjZu+zqbyNA9ZQUAY= 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: 474cc0b33d384cde842e788ea6b7954d-20240125 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:b9247630-6fee-4aec-bd03-ba7e527c3d61,IP:10, URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACT ION:release,TS:-10 X-CID-INFO: VERSION:1.1.35,REQID:b9247630-6fee-4aec-bd03-ba7e527c3d61,IP:10,UR L:0,TC:0,Content:-5,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-10 X-CID-META: VersionHash:5d391d7,CLOUDID:1bf6a48e-e2c0-40b0-a8fe-7c7e47299109,B ulkID:2401251609461KQZS52G,BulkQuantity:0,Recheck:0,SF:66|24|17|19|44|102, TC:nil,Content:0,EDM:-3,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_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI X-UUID: 474cc0b33d384cde842e788ea6b7954d-20240125 Received: from mail.kylinos.cn [(39.156.73.10)] by mailgw (envelope-from <chentao@kylinos.cn>) (Generic MTA) with ESMTP id 1900835898; Thu, 25 Jan 2024 16:09:44 +0800 Received: from mail.kylinos.cn (localhost [127.0.0.1]) by mail.kylinos.cn (NSMail) with SMTP id 1F139E000EB9; Thu, 25 Jan 2024 16:09:44 +0800 (CST) X-ns-mid: postfix-65B21747-919059179 Received: from kernel.. (unknown [172.20.15.234]) by mail.kylinos.cn (NSMail) with ESMTPA id 69B38E000EB9; Thu, 25 Jan 2024 16:09:41 +0800 (CST) From: Kunwu Chan <chentao@kylinos.cn> To: linux@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunwu Chan <chentao@kylinos.cn> Subject: [PATCH] ARM: riscpc: dma: code cleanup Date: Thu, 25 Jan 2024 16:09:39 +0800 Message-Id: <20240125080939.530750-1-chentao@kylinos.cn> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789049192346246194 X-GMAIL-MSGID: 1789049192346246194 |
Series |
ARM: riscpc: dma: code cleanup
|
|
Commit Message
Kunwu Chan
Jan. 25, 2024, 8:09 a.m. UTC
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 <chentao@kylinos.cn>
---
arch/arm/mach-rpc/dma.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm/mach-rpc/dma.c b/arch/arm/mach-rpc/dma.c index 50e0f97afd75..caed10f5b394 100644 --- a/arch/arm/mach-rpc/dma.c +++ b/arch/arm/mach-rpc/dma.c @@ -33,15 +33,6 @@ struct iomd_dma { unsigned int dma_len; }; -#if 0 -typedef enum { - dma_size_8 = 1, - dma_size_16 = 2, - dma_size_32 = 4, - dma_size_128 = 16 -} dma_size_t; -#endif - #define TRANSFER_SIZE 2 #define CURA (0)