Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp590603lqh; Sat, 4 May 2024 13:44:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwWs7PnHV29Ulx6DKz90p/5Ac/GEmaEyv8sgKIQ5Plq51OqQIBjRA+xb1kgS1MXZBBnC+ePURbGWwWfoIfnqT8qhp5fi1C+608sZItsg== X-Google-Smtp-Source: AGHT+IGWrgP8Ws9iFsnyD23pnxafmE6GlCxJstVr70r1DJngJ/BuZYXWzXOnArhjcRlgpxacC4ta X-Received: by 2002:a17:90a:7183:b0:2af:a2a:ad67 with SMTP id i3-20020a17090a718300b002af0a2aad67mr5220403pjk.4.1714855467935; Sat, 04 May 2024 13:44:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714855467; cv=pass; d=google.com; s=arc-20160816; b=GYuyn6ogGfZMh3JAKloDNFZ7IVf0Mlj8u3AZg16wRFIJVMo5BqTz/VUJdktITUWCd3 lX9FmZGkr8dxxH+QgRK8jptSKEUpZmoVZVlntZWc6tfR6iQB2NTtMkBgU89uwhc2XOOQ 1NK9LboB7zGCU4FskKS4mPNhmlAL0er2ZqDbR3MwAEhr8Mw8YkaYZVFTzTy3FhwCEgLs HwNUSPmpvubs8U5qldpu4hvERZ3UZG5Er1wFeYKUAh2L3oLM3JzNji+0rc1EP5WxTh0G pW/1TabnMn2nskMC7BDYjHd1XyKcnOygnRyIKdOvgbFXCc6U1lLQ2sefDIJWm2oElI+v l4UA== 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:dkim-signature; bh=/HLlbzIaJQzB0yvbypNhoOF63v0aCE5E1l/hroSiDok=; fh=DmXShzfjuNGgeigQmckKldtCoYY0bAHrXb6LX9hg0vk=; b=j3t9a6KvVq84AIrm+PAUc0ZEbrWhZgsRvcndKwM+Bj1aAW1py06dW1GJrBKH4kVZs4 NZ1WC9xdZw0zpxp/7V2Cngg66TjA/sO8synjaL68Rvt3HHY7AY289gVt4j1mHG4a6b/s 2NkFGGo7Z/r5Nj5mtSyW7bX1TTcev6JXJWDWfhHi3COeXepClQR0tsJdW/s8r2i4CmFy O9v0N38nVnV+7oO3NqPcuNyZB8PI3ttQuvB4i8cYCvp2yE23+sgnWdXK8xfqXQfSE6Z2 6u7FII2p7UOWY/RO2Xl7Y3dlzl1Pe5YsNKCdesq1wmYbmwfP/huOTJ+5+Y1bJ2BICts8 05IQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b="sVtoP/wK"; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-168817-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168817-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i9-20020a17090acf8900b002b32a2b7d7dsi5410690pju.33.2024.05.04.13.44.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 13:44:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168817-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b="sVtoP/wK"; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-168817-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168817-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.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 1DC292822EA for ; Sat, 4 May 2024 20:44:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1F0F83CB8; Sat, 4 May 2024 20:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="sVtoP/wK" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 DB7EE17578; Sat, 4 May 2024 20:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714855460; cv=none; b=o6dR2nd+zfHECC1Oo4RHNxBZG0IOF70TEq6RrxSLF1SU+mKR7mBEdYVNTBpUfcwEdjuP30WRETxU0JQr1cxaX9iQEhJYTCw4WKkt0VMpIPM4poRKWx2NbG5zHxZYHaunykRkFbGTat5gP1XlM/RymP+z5kTqIM8d83X5bh8WEbQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714855460; c=relaxed/simple; bh=Woz1MD9/NijvVG8MTLwNijJgEfXM134tNxFmEi6WXeA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uZAxNduux6nKMcpZZ2MESjtLGYoy4pVdrfkZPfIQ0P7OBPfHg1VQuSplFecWFGsZzkG+HGOuT3lJwOzrZ3y9mg0GFgJrPhtiJ/R0vNCwDVnfn5rUkesv2TpqOEZodls9MnJlSX14mp9bfUbZGzsVVqd2OoxHxpFweBtpEWZM1a8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=sVtoP/wK; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=/HLlbzIaJQzB0yvbypNhoOF63v0aCE5E1l/hroSiDok=; b=sVtoP/wK5kIeBu+s eT5gr4UfvPAlaulWIQM+/NA3wCy2dJowoNB7XwCO9FlBG/NVkmY1lLPE3MIG9GcJKmopwUhJgvjUj 6huIU24VavxL5Y4eWtuA6kA0qhO5WfbBGK16gmra6/+eNcY/pyWl3DEbmTr8YboYQ6PN8vS7/BVuk bU34GYD+qAhMmdxCfKsHV0hgVBmqITpvto6Smbrc+uAyUMxDLlycfCnqSUx2pcxC1YebmjVfp++DA tYLCzR13BPAVdG4DT/RLmzn00EUqiVjZTGN7UU64otDnuzmYsW3c1I0UaI0XEo5i+WHGPoX3ILQco 2cTVcmwMS//TxyjdTA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3MEn-004jGi-2X; Sat, 04 May 2024 20:44:05 +0000 From: linux@treblig.org To: wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram' Date: Sat, 4 May 2024 21:44:01 +0100 Message-ID: <20240504204401.198913-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" The list 'claimed_sram' seems unused, as far as I can tell it always has been. I think the 'list' member of sunxi_sram_data was intended to be used when it was on that list. Remove them. Build tested only. Signed-off-by: Dr. David Alan Gilbert --- drivers/soc/sunxi/sunxi_sram.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index 6eb6cf06278e6..71cc377b5e243 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -33,7 +33,6 @@ struct sunxi_sram_data { u8 offset; u8 width; struct sunxi_sram_func *func; - struct list_head list; }; struct sunxi_sram_desc { @@ -103,7 +102,6 @@ static const struct of_device_id sunxi_sram_dt_ids[] = { }; static struct device *sram_dev; -static LIST_HEAD(claimed_sram); static DEFINE_SPINLOCK(sram_lock); static void __iomem *base; -- 2.45.0