summaryrefslogtreecommitdiff
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-11 17:17:06 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 08:54:23 -0700
commit06f3d3bdee9bac871c556c34ea80303033c474b3 (patch)
tree9a28d8fb3e57f205324be62df4952140fe13c973 /drivers/staging/android
parente7f3eb0c912ca334fa67429a060389cbea6e815d (diff)
downloadlwn-06f3d3bdee9bac871c556c34ea80303033c474b3.tar.gz
lwn-06f3d3bdee9bac871c556c34ea80303033c474b3.zip
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>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/persistent_ram.c2
-rw-r--r--drivers/staging/android/persistent_ram.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/android/persistent_ram.c b/drivers/staging/android/persistent_ram.c
index 8407112f701f..12444fd16d5e 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 f41e2086c645..563535547d8d 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;