tools/firewire: nosy-dump: change to kernel coding style
[sfrench/cifs-2.6.git] / tools / firewire / list.h
index fa119dd371fe91d0e9bcd2d894790d4c463e0f2d..41f4bdadf6344eff10e4102d4491bf953d74e81a 100644 (file)
@@ -1,46 +1,46 @@
 struct list {
-  struct list *next, *prev;
+       struct list *next, *prev;
 };
 
 static inline void
 list_init(struct list *list)
 {
-  list->next = list;
-  list->prev = list;
+       list->next = list;
+       list->prev = list;
 }
 
 static inline int
 list_empty(struct list *list)
 {
-  return list->next == list;
+       return list->next == list;
 }
 
 static inline void
 list_insert(struct list *link, struct list *new_link)
 {
-  new_link->prev       = link->prev;
-  new_link->next       = link;
-  new_link->prev->next = new_link;
-  new_link->next->prev = new_link;
+       new_link->prev          = link->prev;
+       new_link->next          = link;
+       new_link->prev->next    = new_link;
+       new_link->next->prev    = new_link;
 }
 
 static inline void
 list_append(struct list *list, struct list *new_link)
 {
-  list_insert((struct list *)list, new_link);
+       list_insert((struct list *)list, new_link);
 }
 
 static inline void
 list_prepend(struct list *list, struct list *new_link)
 {
-  list_insert(list->next, new_link);
+       list_insert(list->next, new_link);
 }
 
 static inline void
 list_remove(struct list *link)
 {
-  link->prev->next = link->next;
-  link->next->prev = link->prev;
+       link->prev->next = link->next;
+       link->next->prev = link->prev;
 }
 
 #define list_entry(link, type, member) \