From: Julia Lawall Date: Fri, 8 May 2015 21:36:45 +0000 (+0200) Subject: staging: lustre: cl_page: drop unneeded variable X-Git-Tag: v4.2-rc1~88^2~638 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=9d9a3d06db9fd5f8c5760db76e0147b7e0c27c0c;p=linux.git staging: lustre: cl_page: drop unneeded variable Drop variable made unnecessary by conversion of obd free functions to kfree. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- 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);