Browse Source

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>
Julia Lawall 10 years ago
parent
commit
9d9a3d06db
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/staging/lustre/lustre/obdclass/cl_page.c

+ 0 - 1
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);