mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07: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