* [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram'
@ 2024-05-04 20:44 linux
2024-05-18 0:15 ` Dr. David Alan Gilbert
2024-05-28 14:15 ` Chen-Yu Tsai
0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-05-04 20:44 UTC (permalink / raw)
To: wens, jernej.skrabec, samuel
Cc: linux-arm-kernel, linux-sunxi, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
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 <linux@treblig.org>
---
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram'
2024-05-04 20:44 [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram' linux
@ 2024-05-18 0:15 ` Dr. David Alan Gilbert
2024-05-28 14:15 ` Chen-Yu Tsai
1 sibling, 0 replies; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-18 0:15 UTC (permalink / raw)
To: wens, jernej.skrabec, samuel; +Cc: linux-arm-kernel, linux-sunxi, linux-kernel
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> 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 <linux@treblig.org>
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 |_______/
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram'
2024-05-04 20:44 [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram' linux
2024-05-18 0:15 ` Dr. David Alan Gilbert
@ 2024-05-28 14:15 ` Chen-Yu Tsai
1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2024-05-28 14:15 UTC (permalink / raw)
To: jernej.skrabec, samuel, linux; +Cc: linux-arm-kernel, linux-sunxi, linux-kernel
On Sat, 04 May 2024 21:44:01 +0100, linux@treblig.org wrote:
> 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.
>
> [...]
Applied to sunxi/drivers-for-6.11 in sunxi/linux.git, thanks!
[1/1] soc: sunxi: sram: Remove unused list 'claimed_sram'
https://git.kernel.org/sunxi/linux/c/a40cf069ac61
Best regards,
--
Chen-Yu Tsai <wens@csie.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-28 14:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-04 20:44 [PATCH] soc: sunxi: sram: Remove unused list 'claimed_sram' linux
2024-05-18 0:15 ` Dr. David Alan Gilbert
2024-05-28 14:15 ` Chen-Yu Tsai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).