]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
nvmem: rmem: remove unused struct rmem::size field
authorThéo Lebrun <theo.lebrun@bootlin.com>
Mon, 30 Dec 2024 14:30:29 +0000 (14:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Dec 2024 14:36:00 +0000 (15:36 +0100)
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>
drivers/nvmem/rmem.c

index 0dc5c8237c7538efe4597c182d7bdb709b945851..ca89c2689031534ff316a48e03360aeec823b025 100644 (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,