[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240724-nvmem-rmem-v1-3-d2e3a97349a0@bootlin.com>
Date: Wed, 24 Jul 2024 15:57:10 +0200
From: Théo Lebrun <theo.lebrun@...tlin.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Cc: linux-kernel@...r.kernel.org,
Vladimir Kondratiev <vladimir.kondratiev@...ileye.com>,
Grégory Clement <gregory.clement@...tlin.com>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Tawfik Bayouk <tawfik.bayouk@...ileye.com>,
Théo Lebrun <theo.lebrun@...tlin.com>
Subject: [PATCH 3/3] nvmem: rmem: remove unused .size field
The private structure used by rmem contains a `size` field that is
unused. Remove it.
Signed-off-by: Théo Lebrun <theo.lebrun@...tlin.com>
---
drivers/nvmem/rmem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/nvmem/rmem.c b/drivers/nvmem/rmem.c
index b2dd25acd7d5..418c10cf1266 100644
--- a/drivers/nvmem/rmem.c
+++ b/drivers/nvmem/rmem.c
@@ -13,8 +13,6 @@ struct rmem {
struct device *dev;
struct nvmem_device *nvmem;
struct reserved_mem *mem;
-
- phys_addr_t size;
};
static int rmem_read(void *context, unsigned int offset,
--
2.45.2
Powered by blists - more mailing lists