Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9010 obdclass: use static initializer macros where possible
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_config.c
diff --git
a/lustre/obdclass/obd_config.c
b/lustre/obdclass/obd_config.c
index
34c5711
..
1535999
100644
(file)
--- a/
lustre/obdclass/obd_config.c
+++ b/
lustre/obdclass/obd_config.c
@@
-833,8
+833,7
@@
static int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg)
RETURN(rc);
}
-static struct list_head lustre_profile_list =
- LIST_HEAD_INIT(lustre_profile_list);
+static LIST_HEAD(lustre_profile_list);
static DEFINE_SPINLOCK(lustre_profile_list_lock);
struct lustre_profile *class_get_profile(const char * prof)