Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1264936lqo; Fri, 17 May 2024 17:15:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5lK8AYr5QwukdWB+oDugRTX/WvqaLNl5SzNuCsTmJwcRYhS7LYxlXSX03qb4rhjXuMZFwY9x9bTlQseJ2NQASaLb8pbZ20ImpykzbCQ== X-Google-Smtp-Source: AGHT+IHYiyK7x9viEXi3FO6TcBm9TjnUTufFH/YpLecLCsYTcGV4ktv7XUQBZHNOa3V61cTmkx2s X-Received: by 2002:a17:906:4890:b0:a59:9ed5:eefc with SMTP id a640c23a62f3a-a5d5cbff10emr43458866b.32.1715991336362; Fri, 17 May 2024 17:15:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715991336; cv=pass; d=google.com; s=arc-20160816; b=du+ZxlrwRgyIf6pU1YmfugCFOYBQKHYv2R+HLAhGa7ZwFXXFMw4LxU7KM7jnXDCaX5 ECDztF4T378e1ib/ZJllSLkXIRa5b72g6nmoB6TsQbz8Ps3iKGdpyWB6LQI8DfXC4f+p 8J/KfkBar2Ciitcq0FsSCRNuhdxtqfa5yc5VXesxbUftutQdUJPLfw+U4dqSfzJHa1yT afaAkj3Kur/nVaR/14ZJkPjdGJp06BPUTQI3y09nDYB+Nnyl/k/vBs87bB8xeDrEplqk XFoS3mzduR8XpLajzBE3AMkLQE9unqS820gHIOj/tdjKsuZvFJhKjsbA/xgLb1zXCRV7 MkJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=w9ULlz4UgsU7z8CnXTOJtHaxQ2rpwelEzKXQ6d+PmNo=; fh=y/vk/DKvbkNY5JSgplE3IXA1BYRnz++/hbN9iNHOLE4=; b=BIUFJLZPkG4sxFyQ951pdXvB6QxfLra5tzUBusoJzuQNbZuSw+OFFQhg4gyYzy8Kwj UkDAjUm7p7YDROLkp7tg0MfC3GZozkNqnNEVDlL8aO4VgmrZu2QVBCU83rrENelU5wMZ 5W+QvHfwx6m5o8dcPX/O+0+ueyU0HMrndbI8csf8R6unW586guACuz2cnLmxevNpD8n9 IYihIi9oGHU8K5KY6x3hr5dzulZk/0GRCWhR7L7W+zQUZhK7LLOuyOID72OsDlHo/UJb WJ8H8R3tgUIeGXaYUpWbJVK8S1cVEFwcIqI7dq02s0Ps5u1DUggP5feBv4yozzAYT+ZF GbfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=VX6g6cv0; 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-182721-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182721-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5bd1fe75f2si369630966b.172.2024.05.17.17.15.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 17:15:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182721-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=VX6g6cv0; 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-182721-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182721-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D89221F2248D for ; Sat, 18 May 2024 00:15:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3788E2107; Sat, 18 May 2024 00:15:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="VX6g6cv0" 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 57A70624; Sat, 18 May 2024 00:15:26 +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=1715991328; cv=none; b=D2JI/fZbJXJ21kn5OA4E+v3M6q/w+PpRn+bS91cEM+mM5qqmgSGhNyOeEknguATwV7205gtuPbHkHaM4B5fjTFy8MOkmvBTiUpoP4m0JDe6EB4v/fV3bUQUAWQ9BSLg/eMVlksDa/J8WlATONyVzYBhAKeXi8wSwdUSiYtzk740= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715991328; c=relaxed/simple; bh=V07vTx9Pcc4bKqrXhXzLYwwefe5ErfqlqKXqge1UAWA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aFsOzCI+4AIgTOcygdwDBim8txBHF35R/rrWV3m8Xpcxu7T3DCgrIqc31dEozYm83A/vFLXINr43W0XrwRY+YCsW/FwHEsBG8dYeWRYqwCSsVNDfjZJjw82jMn9tPM+0+MC6DPhMvdpg3c2BYRL17s/odv6zqIDBmkFY/mRyD8I= 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=VX6g6cv0; 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=Content-Type:MIME-Version:Message-ID:Subject:From:Date:From :Subject; bh=w9ULlz4UgsU7z8CnXTOJtHaxQ2rpwelEzKXQ6d+PmNo=; b=VX6g6cv0JsUWVWjs /Ipbl7SXrMyZzwhlBfaMW+tvqUGhYSL+EgyHUn7S7b8euSmKdUdDCHvk+Jit2R2Yd7SUDIoJQ9UCP RtvH8GORRDM8YvoqzjWpvda//TkIpwQFntG5VERb1lJLrPBhEetbhKURObL9EBFDqw4gK4gOlblu5 ePEaBDdNGa8c08UIrWjWO0yq/0FDVK7gFxPlhUaFCNSAZKpVVyPASqG0x3u6cKFG9hCdEGhlVGGEP /34MWK4PQp0N4j8hrooaG1c6RoJ4catLTP9fgW5iOshkWeJvt1Erpvar/a+tInlErLZVFFehZaWLm DlPEv31cOLytjluf6Q==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1s87jI-001U94-1v; Sat, 18 May 2024 00:15:16 +0000 Date: Sat, 18 May 2024 00:15:16 +0000 From: "Dr. David Alan Gilbert" 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 Subject: Re: [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram' Message-ID: References: <20240504204401.198913-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20240504204401.198913-1-linux@treblig.org> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 00:14:40 up 9 days, 11:28, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * linux@treblig.org (linux@treblig.org) wrote: > 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 Ping > --- > 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 > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/