Whamcloud - gitweb
use special macro for print time_t, cleanup in includes.
[fs/lustre-release.git] / lustre / obdclass / lustre_peer.c
index 54c9de6..fdeef96 100644 (file)
@@ -137,12 +137,10 @@ int class_add_uuid(const char *uuid, __u64 nid)
 /* Delete the nids for one uuid if specified, otherwise delete all */
 int class_del_uuid(const char *uuid)
 {
-        struct list_head  deathrow;
+        CFS_LIST_HEAD(deathrow);
         struct uuid_nid_data *data;
         int found = 0;
 
-        CFS_INIT_LIST_HEAD (&deathrow);
-
         spin_lock (&g_uuid_lock);
         if (uuid == NULL) {
                 list_splice_init(&g_uuid_list, &deathrow);