staging: lustre: osc: Remove remains of osc_ast_guard
authorOleg Drokin <oleg.drokin@intel.com>
Thu, 10 Nov 2016 17:30:58 +0000 (12:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 15:13:57 +0000 (16:13 +0100)
osc_ast_guard has been removed by the clio simplification.
Remove the last lock class definition.

Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7148
Reviewed-on: http://review.whamcloud.com/16392
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_dev.c
drivers/staging/lustre/lustre/osc/osc_request.c

index 83d30c135ba4bcaf5c0b14aff3e28b836fb0c3da..38b9ac60e97ef277026535b66390574c2b65e335 100644 (file)
@@ -94,8 +94,6 @@ struct lu_kmem_descr osc_caches[] = {
        }
 };
 
-struct lock_class_key osc_ast_guard_class;
-
 /*****************************************************************************
  *
  * Type conversions.
index 8023561056b707e41e6be03632fbebfd4229ae36..057d862ed9621735ce39e960ce1e945676e1d96e 100644 (file)
@@ -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)
 {