mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 03:33:58 +08:00
persistent_ram: Remove prz->node
The 'node' struct member is unused, so remove it. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e7f3eb0c91
commit
06f3d3bdee
@ -407,8 +407,6 @@ struct persistent_ram_zone *__persistent_ram_init(struct device *dev, bool ecc)
|
||||
goto err;
|
||||
}
|
||||
|
||||
INIT_LIST_HEAD(&prz->node);
|
||||
|
||||
ret = persistent_ram_buffer_init(dev_name(dev), prz);
|
||||
if (ret) {
|
||||
pr_err("persistent_ram: failed to initialize buffer\n");
|
||||
|
@ -38,7 +38,6 @@ struct persistent_ram {
|
||||
};
|
||||
|
||||
struct persistent_ram_zone {
|
||||
struct list_head node;
|
||||
void *vaddr;
|
||||
struct persistent_ram_buffer *buffer;
|
||||
size_t buffer_size;
|
||||
|
Loading…
Reference in New Issue
Block a user