OSDN Git Service

staging: lustre: remove libcfs_init_string function
authorJames Simmons <jsimmons@infradead.org>
Thu, 22 Oct 2015 01:52:41 +0000 (21:52 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:52:21 +0000 (18:52 -0700)
commit43049a83b57118753abcd9fa2141a0ce64533680
tree973fa5bc12b86cc1a175f0662e02e7f51f2890d5
parent47ca6ec2673eff06e6befab2c04528c5b1f3c5bb
staging: lustre: remove libcfs_init_string function

All the function libcfs_init_string did was initialize
a spinlock. We can initialize the spinlock statically
instead.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs.h
drivers/staging/lustre/lnet/lnet/nidstrings.c
drivers/staging/lustre/lustre/libcfs/module.c