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-9679 lustre: use LIST_HEAD() for local lists.
[fs/lustre-release.git]
/
lustre
/
obdclass
/
lustre_peer.c
diff --git
a/lustre/obdclass/lustre_peer.c
b/lustre/obdclass/lustre_peer.c
index
535d78e
..
d8dc95a
100644
(file)
--- a/
lustre/obdclass/lustre_peer.c
+++ b/
lustre/obdclass/lustre_peer.c
@@
-131,9
+131,7
@@
int class_add_uuid(const char *uuid, __u64 nid)
int class_del_uuid(const char *uuid)
{
struct uuid_nid_data *data;
- struct list_head deathrow;
-
- INIT_LIST_HEAD(&deathrow);
+ LIST_HEAD(deathrow);
spin_lock(&g_uuid_lock);
if (uuid != NULL) {