diff mbox

[01/11] persistent_ram: Remove prz->node

Message ID 20120512001706.GA14782@lizard
State Accepted
Commit 06f3d3bdee9bac871c556c34ea80303033c474b3
Headers show

Commit Message

Anton Vorontsov May 12, 2012, 12:17 a.m. UTC
The 'node' struct member is unused, so remove it.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
---
 drivers/staging/android/persistent_ram.c |    2 --
 drivers/staging/android/persistent_ram.h |    1 -
 2 files changed, 3 deletions(-)
diff mbox

Patch

diff --git a/drivers/staging/android/persistent_ram.c b/drivers/staging/android/persistent_ram.c
index 8407112..12444fd 100644
--- a/drivers/staging/android/persistent_ram.c
+++ b/drivers/staging/android/persistent_ram.c
@@ -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");
diff --git a/drivers/staging/android/persistent_ram.h b/drivers/staging/android/persistent_ram.h
index f41e208..5635355 100644
--- a/drivers/staging/android/persistent_ram.h
+++ b/drivers/staging/android/persistent_ram.h
@@ -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;