From 83f1828fa2c600e3db410bb250e96fa8487da774 Mon Sep 17 00:00:00 2001 From: Michel-FK Date: Sat, 3 Apr 2021 23:40:45 +0200 Subject: [PATCH] untabify Signed-off-by: Michel-FK --- mapping_list.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mapping_list.c b/mapping_list.c index c99da61..eb634c8 100644 --- a/mapping_list.c +++ b/mapping_list.c @@ -71,8 +71,8 @@ * process */ #define list_for_each_safe(pos, n, head) \ - for (pos = (head)->next, n = pos->next; pos != (head); \ - pos = n, n = pos->next) + for (pos = (head)->next, n = pos->next; pos != (head); \ + pos = n, n = pos->next) /* Add a mapping between a previous and a next one */ static inline void list_add_between(struct mapping_list_t *new, @@ -95,21 +95,21 @@ static inline void list_add(struct mapping_list_t *new, static inline void list_add_tail(struct mapping_list_t *new, struct mapping_list_t *head) { - list_add_between(new, head->prev, head); + list_add_between(new, head->prev, head); } /* Delete a mapping between a previous and a next one */ static inline void list_delete_between(struct mapping_list_t *prev, struct mapping_list_t *next) { - next->prev = prev; - prev->next = next; + next->prev = prev; + prev->next = next; } /* Delete a mapping from the mapping list */ static inline void list_delete(struct mapping_list_t *entry) { - list_delete_between(entry->prev, entry->next); + list_delete_between(entry->prev, entry->next); } /* Initalize a mapping list */