From b6c6539b7bbd82cb8486384f1e1dc882b4cfc576 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Thu, 10 Nov 2016 12:30:58 -0500 Subject: [PATCH] staging: lustre: osc: Remove remains of osc_ast_guard osc_ast_guard has been removed by the clio simplification. Remove the last lock class definition. Signed-off-by: Oleg Drokin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7148 Reviewed-on: http://review.whamcloud.com/16392 Reviewed-by: Andreas Dilger Reviewed-by: Bobi Jam Signed-off-by: James Simmons Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lustre/osc/osc_dev.c | 2 -- drivers/staging/lustre/lustre/osc/osc_request.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/osc/osc_dev.c b/drivers/staging/lustre/lustre/osc/osc_dev.c index 83d30c135ba4..38b9ac60e97e 100644 --- a/drivers/staging/lustre/lustre/osc/osc_dev.c +++ b/drivers/staging/lustre/lustre/osc/osc_dev.c @@ -94,8 +94,6 @@ struct lu_kmem_descr osc_caches[] = { } }; -struct lock_class_key osc_ast_guard_class; - /***************************************************************************** * * Type conversions. diff --git a/drivers/staging/lustre/lustre/osc/osc_request.c b/drivers/staging/lustre/lustre/osc/osc_request.c index 8023561056b7..057d862ed962 100644 --- a/drivers/staging/lustre/lustre/osc/osc_request.c +++ b/drivers/staging/lustre/lustre/osc/osc_request.c @@ -2845,7 +2845,6 @@ static struct obd_ops osc_obd_ops = { }; extern struct lu_kmem_descr osc_caches[]; -extern struct lock_class_key osc_ast_guard_class; static int __init osc_init(void) { -- 2.11.0