mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
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:
parent
9c7e397c98
commit
315c928ba9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user