Skip to content

Commit

Permalink
persistent_ram: Remove prz->node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov authored and Greg Kroah-Hartman committed May 14, 2012
1 parent e7f3eb0 commit 06f3d3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/android/persistent_ram.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/android/persistent_ram.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06f3d3b

Please sign in to comment.