summaryrefslogtreecommitdiffstats
path: root/include/net/net.h
diff options
context:
space:
mode:
authorPaolo Bonzini2018-12-06 13:10:34 +0100
committerPaolo Bonzini2019-01-11 15:46:55 +0100
commiteae3eb3e185028d6e862db747e3b7397600d6762 (patch)
tree359a23639a6db7a77407cf8f366564561b970738 /include/net/net.h
parentqemu/queue.h: reimplement QTAILQ without pointer-to-pointers (diff)
downloadqemu-eae3eb3e185028d6e862db747e3b7397600d6762.tar.gz
qemu-eae3eb3e185028d6e862db747e3b7397600d6762.tar.xz
qemu-eae3eb3e185028d6e862db747e3b7397600d6762.zip
qemu/queue.h: simplify reverse access to QTAILQ
The new definition of QTAILQ does not require passing the headname, remove it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/net/net.h')
-rw-r--r--include/net/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/net.h b/include/net/net.h
index ec13702dbf..643295d163 100644
--- a/include/net/net.h
+++ b/include/net/net.h
@@ -97,7 +97,7 @@ struct NetClientState {
unsigned rxfilter_notify_enabled:1;
int vring_enable;
int vnet_hdr_len;
- QTAILQ_HEAD(NetFilterHead, NetFilterState) filters;
+ QTAILQ_HEAD(, NetFilterState) filters;
};
typedef struct NICState {