]> Git Repo - J-linux.git/commitdiff
soc: sunxi: sram: Remove unused list 'claimed_sram'
authorDr. David Alan Gilbert <[email protected]>
Sat, 4 May 2024 20:44:01 +0000 (21:44 +0100)
committerChen-Yu Tsai <[email protected]>
Tue, 28 May 2024 13:28:11 +0000 (21:28 +0800)
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Chen-Yu Tsai <[email protected]>
drivers/soc/sunxi/sunxi_sram.c

index 6eb6cf06278e6684507249d1bf8b586e71055671..71cc377b5e2439ad9d81090adc8bff7b62d6dbe0 100644 (file)
@@ -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;
 
This page took 0.054785 seconds and 4 git commands to generate.