]> git.proxmox.com Git - mirror_qemu.git/commit - block/gluster.c
qemu/queue.h: leave head structs anonymous unless necessary
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Dec 2018 10:58:10 +0000 (11:58 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jan 2019 14:46:55 +0000 (15:46 +0100)
commitb58deb344ddff3b9d8b265bf73a65274767ee5f4
treeb311a114fbe0b2bfcd7d5b2001f7db3699f6fa6a
parent10ca76b4d2075154b3d3e0ea3ab3dd17da71b11c
qemu/queue.h: leave head structs anonymous unless necessary

Most list head structs need not be given a name.  In most cases the
name is given just in case one is going to use QTAILQ_LAST, QTAILQ_PREV
or reverse iteration, but this does not apply to lists of other kinds,
and even for QTAILQ in practice this is only rarely needed.  In addition,
we will soon reimplement those macros completely so that they do not
need a name for the head struct.  So clean up everything, not giving a
name except in the rare case where it is necessary.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
41 files changed:
accel/kvm/kvm-all.c
block/gluster.c
block/mirror.c
block/qcow2-bitmap.c
block/qcow2.h
block/sheepdog.c
block/vhdx.h
blockdev.c
contrib/ivshmem-client/ivshmem-client.h
contrib/ivshmem-server/ivshmem-server.h
exec.c
fsdev/qemu-fsdev.c
hw/block/nvme.h
hw/block/xen_disk.c
hw/core/reset.c
hw/i386/xen/xen-mapcache.c
hw/ppc/spapr_iommu.c
hw/usb/ccid-card-emulated.c
hw/usb/dev-network.c
hw/usb/xen-usb.c
hw/watchdog/watchdog.c
hw/xen/xen_pvdev.c
include/exec/memory.h
include/hw/vfio/vfio-platform.h
include/qom/cpu.h
include/sysemu/kvm.h
include/sysemu/rng.h
linux-user/elfload.c
memory.c
migration/block-dirty-bitmap.c
migration/block.c
migration/ram.c
monitor.c
net/queue.c
net/slirp.c
slirp/slirp.c
target/arm/kvm.c
target/i386/hax-mem.c
tcg/tcg.h
tests/test-rcu-list.c
vl.c