summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-05-09 00:36:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-10 16:05:50 +0300
commit9d9a3d06db9fd5f8c5760db76e0147b7e0c27c0c (patch)
treee2cd59b23266c9a4897ec0bf014ed2799cf09744
parentd798a29dc4cbbdd31006f3b6e3f0b0589c712047 (diff)
downloadlinux-9d9a3d06db9fd5f8c5760db76e0147b7e0c27c0c.tar.xz
staging: lustre: cl_page: drop unneeded variable
Drop variable made unnecessary by conversion of obd free functions to kfree. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/obdclass/cl_page.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustre/lustre/obdclass/cl_page.c
index 88735530f91b..59d338aac137 100644
--- a/drivers/staging/lustre/lustre/obdclass/cl_page.c
+++ b/drivers/staging/lustre/lustre/obdclass/cl_page.c
@@ -248,7 +248,6 @@ EXPORT_SYMBOL(cl_page_gang_lookup);
static void cl_page_free(const struct lu_env *env, struct cl_page *page)
{
struct cl_object *obj = page->cp_obj;
- int pagesize = cl_object_header(obj)->coh_page_bufsize;
PASSERT(env, page, list_empty(&page->cp_batch));
PASSERT(env, page, page->cp_owner == NULL);