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:
committed by
Greg Kroah-Hartman
parent
9c1d9de52b
commit
e44f5a619f
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user