[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241230143035.265518-6-srinivas.kandagatla@linaro.org>
Date: Mon, 30 Dec 2024 14:30:29 +0000
From: srinivas.kandagatla@...aro.org
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
Théo Lebrun <theo.lebrun@...tlin.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH 05/11] nvmem: rmem: remove unused struct rmem::size field
From: Théo Lebrun <theo.lebrun@...tlin.com>
The private structure used by the rmem driver contains
a `size` field that is unused. Remove it.
Signed-off-by: Théo Lebrun <theo.lebrun@...tlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
---
drivers/nvmem/rmem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/nvmem/rmem.c b/drivers/nvmem/rmem.c
index 0dc5c8237c75..ca89c2689031 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.25.1
Powered by blists - more mailing lists