···191191#ifdef CONFIG_INOTIFY1
192192 /* inotify descriptor */
193193 int inotifyfd;
194194- QTAILQ_HEAD(events, MTPMonEntry) events;
194194+ QTAILQ_HEAD(, MTPMonEntry) events;
195195#endif
196196 /* Responder is expecting a write operation */
197197 bool write_pending;
···19891989 case EP_EVENT:
19901990#ifdef CONFIG_INOTIFY1
19911991 if (!QTAILQ_EMPTY(&s->events)) {
19921992- struct MTPMonEntry *e = QTAILQ_LAST(&s->events, events);
19921992+ struct MTPMonEntry *e = QTAILQ_LAST(&s->events);
19931993 uint32_t handle;
19941994 int len = sizeof(container) + sizeof(uint32_t);
19951995
+1-1
hw/usb/hcd-ehci.c
···18231823 break;
18241824 case EHCI_ASYNC_INFLIGHT:
18251825 /* Check if the guest has added new tds to the queue */
18261826- again = ehci_fill_queue(QTAILQ_LAST(&q->packets, pkts_head));
18261826+ again = ehci_fill_queue(QTAILQ_LAST(&q->packets));
18271827 /* Unfinished async handled packet, go horizontal */
18281828 ehci_set_state(q->ehci, q->async, EST_HORIZONTALQH);
18291829 break;
+1-1
hw/usb/hcd-ehci.h
···247247 uint32_t qtdaddr; /* address QTD read from */
248248 int last_pid; /* pid of last packet executed */
249249 USBDevice *dev;
250250- QTAILQ_HEAD(pkts_head, EHCIPacket) packets;
250250+ QTAILQ_HEAD(, EHCIPacket) packets;
251251};
252252253253typedef QTAILQ_HEAD(EHCIQueueHead, EHCIQueue) EHCIQueueHead;
+2-2
hw/usb/hcd-uhci.c
···9999 UHCIState *uhci;
100100 USBEndpoint *ep;
101101 QTAILQ_ENTRY(UHCIQueue) next;
102102- QTAILQ_HEAD(asyncs_head, UHCIAsync) asyncs;
102102+ QTAILQ_HEAD(, UHCIAsync) asyncs;
103103 int8_t valid;
104104};
105105···837837 }
838838 if (!async->done) {
839839 UHCI_TD last_td;
840840- UHCIAsync *last = QTAILQ_LAST(&async->queue->asyncs, asyncs_head);
840840+ UHCIAsync *last = QTAILQ_LAST(&async->queue->asyncs);
841841 /*
842842 * While we are waiting for the current td to complete, the guest
843843 * may have added more tds to the queue. Note we re-read the td
···12911291 /* cannot risk guest agent blocking itself on a write in this state */
12921292 ga_set_frozen(ga_state);
1293129312941294- QTAILQ_FOREACH_REVERSE(mount, &mounts, FsMountList, next) {
12941294+ QTAILQ_FOREACH_REVERSE(mount, &mounts, next) {
12951295 /* To issue fsfreeze in the reverse order of mounts, check if the
12961296 * mount is listed in the list here */
12971297 if (has_mountpoints) {
+2-2
tcg/tcg.c
···23192319 * wait until the dead code in between them was removed.
23202320 */
23212321 if (label->refs == 1) {
23222322- TCGOp *op_prev = QTAILQ_PREV(op, TCGOpHead, link);
23222322+ TCGOp *op_prev = QTAILQ_PREV(op, link);
23232323 if (op_prev->opc == INDEX_op_br &&
23242324 label == arg_label(op_prev->args[0])) {
23252325 tcg_op_remove(s, op_prev);
···24812481 /* ??? Should be redundant with the exit_tb that ends the TB. */
24822482 la_func_end(s, nb_globals, nb_temps);
2483248324842484- QTAILQ_FOREACH_REVERSE_SAFE(op, &s->ops, TCGOpHead, link, op_prev) {
24842484+ QTAILQ_FOREACH_REVERSE_SAFE(op, &s->ops, link, op_prev) {
24852485 int nb_iargs, nb_oargs;
24862486 TCGOpcode opc_new, opc_new2;
24872487 bool have_opc_new2;
+2-2
tcg/tcg.h
···719719 TCGTempSet free_temps[TCG_TYPE_COUNT * 2];
720720 TCGTemp temps[TCG_MAX_TEMPS]; /* globals first, temps after */
721721722722- QTAILQ_HEAD(TCGOpHead, TCGOp) ops, free_ops;
722722+ QTAILQ_HEAD(, TCGOp) ops, free_ops;
723723724724 /* Tells which temporary holds a given register.
725725 It does not take into account fixed registers */
···847847/* The last op that was emitted. */
848848static inline TCGOp *tcg_last_op(void)
849849{
850850- return QTAILQ_LAST(&tcg_ctx->ops, TCGOpHead);
850850+ return QTAILQ_LAST(&tcg_ctx->ops);
851851}
852852853853/* Test for whether to terminate the TB for using too many opcodes. */
+1-1
tests/libqos/malloc.c
···104104105105 do {
106106 merge = 0;
107107- left = QTAILQ_PREV(node, MemList, MLIST_ENTNAME);
107107+ left = QTAILQ_PREV(node, MLIST_ENTNAME);
108108 right = QTAILQ_NEXT(node, MLIST_ENTNAME);
109109110110 /* clowns to the left of me */