Skip to content

Commit a40cf06

Browse files
Dr. David Alan Gilbertwens
authored andcommitted
soc: sunxi: sram: Remove unused list 'claimed_sram'
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]>
1 parent 1613e60 commit a40cf06

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/soc/sunxi/sunxi_sram.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ struct sunxi_sram_data {
3333
u8 offset;
3434
u8 width;
3535
struct sunxi_sram_func *func;
36-
struct list_head list;
3736
};
3837

3938
struct sunxi_sram_desc {
@@ -103,7 +102,6 @@ static const struct of_device_id sunxi_sram_dt_ids[] = {
103102
};
104103

105104
static struct device *sram_dev;
106-
static LIST_HEAD(claimed_sram);
107105
static DEFINE_SPINLOCK(sram_lock);
108106
static void __iomem *base;
109107

0 commit comments

Comments
 (0)