staging: lustre: cl_page: drop unneeded variable
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 8 May 2015 21:36:45 +0000 (23:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 13:05:50 +0000 (15:05 +0200)
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>
drivers/staging/lustre/lustre/obdclass/cl_page.c

index 88735530f91b6c05d14963fff5da0bf165093854..59d338aac1377e247b593eb98459361ec39d010b 100644 (file)
@@ -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);