Commit 315c928b authored by Pedro Marzo Perez's avatar Pedro Marzo Perez Committed by Greg Kroah-Hartman

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: default avatarPedro Marzo Perez <marzo.pedro@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c7e397c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment