Staging: lustre: make obd_device_cachep static

Variable obd_device_cachep is only used inside the file it is declared,
so it is better set as static

Signed-off-by: Pedro Marzo Perez <marzo.pedro@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Pedro Marzo Perez 2015-07-16 20:50:00 +02:00 committed by Greg Kroah-Hartman
parent 9c7e397c98
commit 315c928ba9

View File

@ -45,7 +45,7 @@
spinlock_t obd_types_lock;
struct kmem_cache *obd_device_cachep;
static struct kmem_cache *obd_device_cachep;
struct kmem_cache *obdo_cachep;
EXPORT_SYMBOL(obdo_cachep);
static struct kmem_cache *import_cachep;