]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/llist.c
[media] staging: as102: Remove conditional compilation based on kernel version
[karo-tx-linux.git] / lib / llist.c
index 878985c4d19d8eef42440dff4fbd0d439e8536a8..700cff77a3870a04ca050b92b47f1a93c04368e3 100644 (file)
@@ -49,7 +49,6 @@ bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last,
                entry = cmpxchg(&head->first, old_entry, new_first);
                if (entry == old_entry)
                        break;
-               cpu_relax();
        }
 
        return old_entry == NULL;
@@ -83,7 +82,6 @@ struct llist_node *llist_del_first(struct llist_head *head)
                entry = cmpxchg(&head->first, old_entry, next);
                if (entry == old_entry)
                        break;
-               cpu_relax();
        }
 
        return entry;