Changeset 8565a42 in mainline for kernel/generic/src/adt/list.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/adt/list.c

    r3061bc1 r8565a42  
    5656        bool found = false;
    5757        link_t *hlp = list->head.next;
    58        
     58
    5959        while (hlp != &list->head) {
    6060                if (hlp == link) {
     
    6464                hlp = hlp->next;
    6565        }
    66        
     66
    6767        return found;
    6868}
     
    8080        if (list_empty(list))
    8181                return;
    82        
     82
    8383        /* Attach list to destination. */
    8484        list->head.next->prev = pos;
    8585        list->head.prev->next = pos->next;
    86        
     86
    8787        /* Link destination list to the added list. */
    8888        pos->next->prev = list->head.prev;
    8989        pos->next = list->head.next;
    90        
     90
    9191        list_initialize(list);
    9292}
     
    102102{
    103103        unsigned long count = 0;
    104        
     104
    105105        link_t *link = list_first(list);
    106106        while (link != NULL) {
     
    108108                link = list_next(link, list);
    109109        }
    110        
     110
    111111        return count;
    112112}
Note: See TracChangeset for help on using the changeset viewer.