mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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:
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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user