nvmem: rmem: remove unused struct rmem::size field

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@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20241230143035.265518-6-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Théo Lebrun 2024-12-30 14:30:29 +00:00 committed by Greg Kroah-Hartman
parent 9c1d9de52b
commit e44f5a619f

View File

@ -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,