Hello Sascha, Am 17.06.20 um 10:11 schrieb Sascha Hauer: > +static inline void wq_cancel_work(struct work_queue *wq) > +{ > + struct work_struct *work, *tmp; > + > + list_for_each_entry_safe(work, tmp, &wq->work, list) { > + list_del(&work->list); > + wq->cancel(work); > + } > +} Why is this function in the header? So far it is called only from wq_unregister. Best regards, Daniel -- Dipl.-Math. Daniel Glöckner, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11, Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 Geschäftsführung: Heike Jordan, Dr. Uwe Kracke Ust-IdNr.: DE 205 198 055 emlix - your embedded linux partner _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox